|
-
OK I edited it to
while (ground.hitTest(Son._x, Son._y, true) && grav-->0) {
and Sonic does touch the ground, but he won't stop bouncing up and down. At least we're getting somewhere.
EDIT:With the var count do I add it increasing and decreasing wherever the grav/gravity does?
Last edited by Cody2819; 06-21-2016 at 11:56 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|