Added: 2 years ago
From: MibbyGames
Views: 1,397
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (7)

Sign In or Sign Up now to post a comment!
  • I am not using the mouse, i am using the arrow keys

    

  • how exactly are you getting the ammo to fire in the direction that your cannon is firing. in my game my ship can move any where on the screen and i want the ammo to fire in the direction that the nose of the ship is pointing.

  • I know the problem of the bullet bug =)

    for(var i:Number = 0; i < bullets.length; i++) { if(bullets[i].Update()) { drawTarget.removeChild(bullets­[i]); bullets.splice(i, 1); i--; // <- if you delete a part of the array and splice it one bullet don't update. for example (bullet[20] will be deleted and bullet[21] is after the splice the number 20 but the i is now 21 because of the i++. } }

    btw. nice tutorial thx

  • awesome tut dude many thx :)

  • Hey thanks a lot for throwing these together. Looking forward to any of your future projects you decide to post.

  • congrats! great job man, that's really cool, i'm starting in actionscript, and it's being hard for me, can you give an advice for improving it!? cheers!

  • Great job dude :)

    keep it up

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more