joeharner's Comments

Game Comments
Play Shootorial #8 Shootorial #8 Mar. 14, 2011
hey guys, kongregate forgot this in their previous tutorial. Before any time you call removeMovieClip() inside your enemy class, you need to remove it from your array of enemies. Otherwise, bullets will continue to try running checks on the nonexistant objects, and the array will just grow longer and longer. i created an index variable inside the enemy class that I update whenever things are removed from the array and use before .removeMovieClip() like this: _root.(array name).splice(index, 1); my version: http://the-hamer.deviantart.com/art/Starship-Empires-pre-pre-alpha-200383035
Play Shootorial #6 Shootorial #6 Mar. 14, 2011
guys, kongregate forgot this in their last tutorial, but before any time you call removeMovieClip() inside your enemy class, you need to remove it from your array of enemies. Otherwise, bullets will continue to try running checks on the nonexistant objects, and the array will just grow longer and longer. i created an index variable inside the enemy class that I update whenever things are removed from the array and use before .removeMovieClip() like this: _root.(array name).splice(index, 1);
Play Shootorial #5 Shootorial #5 Mar. 10, 2011
everyone, please note that you must also remove your enemies from your array of enemies before you call .removeMovieClip(); if you don't, your bullets will continue to try to run physics checks on them. display enemies.length if you don't believe me. Not much a problem for this game's scale, but if you have smaller, more numerous foes and your weapon shoots faster, this can progressively slow down the game. My solution Look up the splice() function of arrays. create an index variable in your enemy class update the enemies' index value on spawn call enemies.splice(index, 1); loop through the array updating the index values
Play Flyie Shootie Flyie Shootie Mar. 07, 2011
You will learn this material MUCH better if you modify the code rather than "copy/pasta"ing it straight from the tutorial. try making your own ship model (rather than just coloring it), animate it, and make it... idk, alternate firing from one of two different weapons, one above the other. gimme a week, I'll have a challenge game for you to out-do by then. (yes, my first flash too, I'm working through the shootorials, and all.)
Play Caravaneer Caravaneer Dec. 31, 2009
Nothing is worse than forgetting to save. Needs an autosave. 9.5/10 Don't really know why I like it so much.