A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: A Line In AS2 Is Freezing The Game

Threaded View

  1. #4
    Junior Member
    Join Date
    Aug 2015
    Posts
    26
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center