00:00
00:00
Newgrounds Background Image Theme

GooeyOso just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Help with AS3

570 Views | 0 Replies

Help with AS3 2014-04-03 12:49:09


Hey Guys (and Gals)

I’m hoping one of you can help me out with a game I am making in flash.
I’ve been following through this tutorial online (http://as3gametuts.com/2011/11/11/platformer-1/) , and it seems to have missed some fundamental parts that I desperately need, and I am really struggling to work out how to do it.. I’ve vigorously Googled, but to no avail..

Basically, I need to animate the enemy sprite, but whenever I add any kind of animation to the symbol, it becomes non-collidable; the player just passes right through it!
I also need to work out a way to remove enemy sprites from the previous level, as they seem to be passing forward to the next level, and adding a ‘removeself’ function doesn’t seem to do anything. I then need to add a new, separate list of enemies for the next level..

I want to point out that I am EXTREMELY novice at flash (and coding in general), so if you could dumb-down your answers that would be really helpful.

Here is the source code: https://app.box.com/s/d6oibaw63w12e2kvcmsx

Thanks in advance!