toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
trying to jump, why does it not work?
daaddd
Member
Posts:
116
January 2012
edited January 2012
in
Working with GS (Mac)
http://imageshack.us/f/88/capturadetela20120131s2.png/
what is wrong?
Comments
JohnPapiomitis
Member
Posts:
6,256
January 2012
all changing the position is gonna do is have it teleport to that place.
First off you want to have a accelerate behavior in the down direction to act as gravity at all times, if your not using scene gravity/
Next have a rule when space is down
-change attribute self motion linear velocity y to 400
you can adjust the 400 to adjust the jump height
cheers
daaddd
Member
Posts:
116
January 2012
it give the actor velocity in up direction, it doesn't make go back to the ground
App Surge
Member
Posts:
651
January 2012
This could help:
beefy_clyro
Member
Posts:
5,394
January 2012
You could also download this mega template for Free;
http://forums.gamesalad.com/discussion/38132/gs-tool-box-a-free-mega-template-ready-now/p1
It has controls in their for jumping and double jumping as well as many other great things you'd be sure to learn a bunch from.
Warning
There was an error rendering this rich post.
daaddd
Member
Posts:
116
February 2012
thanks for all of you , i've seem lot ways of doing this, and i'm very glad that the gs community is very helpful, congratz for you all, thnx again
Sign In
or
Register
to comment.
Comments
First off you want to have a accelerate behavior in the down direction to act as gravity at all times, if your not using scene gravity/
Next have a rule when space is down
-change attribute self motion linear velocity y to 400
you can adjust the 400 to adjust the jump height
cheers
http://forums.gamesalad.com/discussion/38132/gs-tool-box-a-free-mega-template-ready-now/p1
It has controls in their for jumping and double jumping as well as many other great things you'd be sure to learn a bunch from.