Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,619 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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