See it here.
Trig put up a good fight, and Flash added some great difficulty of its own, but I over came and it works.
[update] Now it shoots too. poping out instances of the Shell class. they are stored in an array, and when one leaves the screen it is removed from the array. I had to use a 'splice' command to remove an item from the middle of the array, then loop through and scoot eveything up a place, then remove the last spot from the array (so nice to have re-sizable arrays), so you can have a 2nd shot stop while the first one keeps going. Also you can only have 5 shots 'in the air' at once.
And, dear followers (like anyone other than Miles or Bridget sees this but I can dream), you might have noticed the tank got really small. That's much closer to final game size, so there can be a couple tanks and some walls on the screen.
Woot! A good day's work.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment