toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
Double Jump
dee99
Member
Posts:
100
September 2010
edited November -1
in
Working with GS (Mac)
how do i do one? i alread have regular jump perfected
Comments
RH
Member
Posts:
1,079
September 2010
http://gamesalad.com/forums/search.php?searchType=forums&q=doodle+jump
http://gamesalad.com/browse/search?searchType=games&q=doodle+jump
There is one key word in each of those links.
dee99
Member
Posts:
100
September 2010
i said DOUBLE JUMP not doodle jump.........
FatalCrest
Member
Posts:
113
September 2010
I can help with this haha multi-jumping is pretty simple
What you'll need -
Your actor that jumps, MainGuy
Your "Platform"
Whatever you use to let you guy jump, lets call it Button
Attributes -
Integer - jumpCounter
Boolean - onGround
In your Button Actor,
All
If touch is pressed
Change Attribute onGround to False
Change Atrribute jumpCounter = jumpCounter+1
In your MainGuy,
Make two groups, Functions and Collision
Under Functions,
Any
If jumpCounter=1
If jumpCounter=2
(Insert Jumping Method here such as accelerate 90" at 180 or something)
If onGround is true
Change Attribute jumpCounter to 0
Under Collision
If actor collides with actor Platform
Change Attribute onGround to true
---
GL!
dee99
Member
Posts:
100
September 2010
Thank you for the help guys, i apreciate it!
Sign In
or
Register
to comment.
Comments
http://gamesalad.com/browse/search?searchType=games&q=doodle+jump
There is one key word in each of those links.
What you'll need -
Your actor that jumps, MainGuy
Your "Platform"
Whatever you use to let you guy jump, lets call it Button
Attributes -
Integer - jumpCounter
Boolean - onGround
In your Button Actor,
All
If touch is pressed
Change Attribute onGround to False
Change Atrribute jumpCounter = jumpCounter+1
In your MainGuy,
Make two groups, Functions and Collision
Under Functions,
Any
If jumpCounter=1
If jumpCounter=2
(Insert Jumping Method here such as accelerate 90" at 180 or something)
If onGround is true
Change Attribute jumpCounter to 0
Under Collision
If actor collides with actor Platform
Change Attribute onGround to true
---
GL!