dl.dropboxusercontent.com/u/31617836/PlatformTutorialJumpTest.capx
Hi, I've been working on this for over 2 hours. I reviewed multiple codes I cannot seem to get this bug to jump up and down.
I thought this would do the trick, but it's still not working: scirra.com/forum/platformer-enemy-control-with-platform-behavior_topic45907_post287435.html
Thanks!
Develop games in your browser. Powerful, performant & highly capable.
It jumps fine for me. The W key makes the little kid jump, and arrow UP key makes the lady bug jump. Thought it seems to jump on key release, not key press.
Is that what you mean by the bug?
Nevermind, I see what you want. Don't use the Simulate Jump, instead use vector y. Like so.
<img src="http://content.screencast.com/users/ArcadEd/folders/Jing/media/cea5f53f-4f23-4f6e-8489-a4dfb70e2da6/2013-09-26_2106.png" border="0" />
Okay I wrote some more code on lines 18 to 20. I tried your approach and it's still not working? Am I missing something? I tried the other two, neither work.
Did I mess up the behaviors somewhere?
<img src="https://dl.dropboxusercontent.com/u/31617836/Capture.PNG" border="0" />
Well in the capx you posted, the ladybugs are never coming in contact with an edgeMarker. Trying turning invisible off on them during your testing so you can see them.
Ah bummer. I see, I keep missing stuff. Thank you!