Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,382 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How do I make character jump? #226377
09/09/08 14:04
09/09/08 14:04
Joined: May 2008
Posts: 91
Eugene, OR. USA
ATOMIX Offline OP
Junior Member
ATOMIX  Offline OP
Junior Member

Joined: May 2008
Posts: 91
Eugene, OR. USA
I have some characters with a Jump animation coded in at frame 289-322 and need help in actually making the character jump. Any help is greatly appreciated.


ATOMIX Productions
ATOMIX Group LLC
http://theatomizer.com
A7 Pro 7.50
Re: How do I make character jump? [Re: ATOMIX] #226688
09/10/08 19:34
09/10/08 19:34
Joined: Aug 2008
Posts: 14
H
Humbug Offline
Newbie
Humbug  Offline
Newbie
H

Joined: Aug 2008
Posts: 14
What's the problem with the jump? If you don't know how to animate models, look at the manual. Otherwise post what does not work.

Re: How do I make character jump? [Re: Humbug] #226815
09/11/08 12:43
09/11/08 12:43
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Sneak up behind him and yell, Boooooooooo!....

Just kidding, In your script you need to assign code and use ent_animate.

eg:
if (key_space)
{
c_move(my,vector(0,0,10),nullvector,IGNORE_PASSABLE);
ent_animate(my,"jump",5,null);
}

Don't use the above code as it hasn't been tested..

Refer to manual for explanations, and do a search in the forums for player movement or look on the wiki site...

Good luck..


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus
Re: How do I make character jump? [Re: Nidhogg] #227085
09/12/08 15:11
09/12/08 15:11
Joined: May 2008
Posts: 91
Eugene, OR. USA
ATOMIX Offline OP
Junior Member
ATOMIX  Offline OP
Junior Member

Joined: May 2008
Posts: 91
Eugene, OR. USA
@Humbug: Thanks for the hint. I did find some example code for animation in the manual.
@Nidhogg: Har har loved it and am still laughing. I needed a good belly laugh and the whole office was rollin'. Thanks for the code example, it gave me a couple of function names to explore.


Last edited by ATOMIX; 09/12/08 15:11.

ATOMIX Productions
ATOMIX Group LLC
http://theatomizer.com
A7 Pro 7.50
Re: How do I make character jump? [Re: Nidhogg] #227638
09/15/08 13:57
09/15/08 13:57
Joined: May 2008
Posts: 91
Eugene, OR. USA
ATOMIX Offline OP
Junior Member
ATOMIX  Offline OP
Junior Member

Joined: May 2008
Posts: 91
Eugene, OR. USA
Hey there thanks for pointing me to the functions to use to set my animations. Because of your help I was able to put together (rapidly) Jumping my holding down the space (not just pressing) and I was able to add a new animation for walking backwards. Once again thanks.


ATOMIX Productions
ATOMIX Group LLC
http://theatomizer.com
A7 Pro 7.50
Re: How do I make character jump? [Re: ATOMIX] #227643
09/15/08 14:37
09/15/08 14:37
Joined: Jul 2008
Posts: 191
M
MDMDFSS Offline
Member
MDMDFSS  Offline
Member
M

Joined: Jul 2008
Posts: 191
i this script for GS 7.10???

Re: How do I make character jump? [Re: ATOMIX] #227726
09/15/08 21:27
09/15/08 21:27
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Originally Posted By: ATOMIX
Hey there thanks for pointing me to the functions to use to set my animations.

np glad to help..

Originally Posted By: MDMDFSS
i this script for GS 7.10???

It should work. Read the manual it will tell you!


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | 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