Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 10/24/26 01:54
Tradestation missing in table of contents
by AndrewAMD. 10/23/26 14:35
No connection to MT4
by JeyKey II. 10/22/26 15:33
Zorro tutorial ideas?
by mistery. 10/21/26 05:28
Avoid "log\ - delete old files" message
by Martin_HH. 10/20/26 07:23
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 6,823 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
JimSimons, julienp, julienper, KelleyAbbey, Yopachi
19246 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Overgrowth/Lugaru Jumping? #371626
05/23/11 13:40
05/23/11 13:40
Joined: Apr 2009
Posts: 81
J
JakeBilbe Offline OP
Junior Member
JakeBilbe  Offline OP
Junior Member
J

Joined: Apr 2009
Posts: 81
The main thing in my game that I want to create is a high jump for attacking, is there any tutorials or guides that allow this?

Re: Overgrowth/Lugaru Jumping? [Re: JakeBilbe] #371635
05/23/11 15:03
05/23/11 15:03
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
do you already have a jump script ?

Re: Overgrowth/Lugaru Jumping? [Re: darkinferno] #371654
05/23/11 19:22
05/23/11 19:22
Joined: Apr 2009
Posts: 81
J
JakeBilbe Offline OP
Junior Member
JakeBilbe  Offline OP
Junior Member
J

Joined: Apr 2009
Posts: 81
At the moment barely, I started to learn lite-c a while back before 2010 but I had college so I never had time and I created a small code that kind of achieved this but you could hold SPACE down and fly up.

Code:
if (key_space) 
{
me.z +=20; //if space is pressed jump
ent_animate(me,"jump",jump_percentage,ANM_CYCLE);
//ent_playsound(me,woosh,100); //jumping plays woosh sound
}
if (me.z > 20) 
{
c_move(me,vector(0,0,-6.5),nullvector,GLIDE); //if the player is above z.20 then glide down at 0.8 speed, enable collision
}



I was also wondering are there any limits to lite-c? I would really like to make this a long term project but I would like to implement things such as lan, online, leveling up and such would this be possible in lite-c or should I switch to another program/language?

Last edited by JakeBilbe; 05/23/11 19:23. Reason: missed the "if" out of the if statement

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1