Advertisement Jump to content
Sign in to follow this  

2D Array Problem...I Think

This topic is 4984 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok, this is done in Flash, but for the most part, this is basic and looks a lot liek most other langauges. Any help here would be apricated seeing how this is for a school project: So what it supposed to do is check to see if theres 4 ships "alive", if not make it so there is. The ships will apear at the top of the screen and randomly on the X axis. IF you dont know anythign about flash, anything in: onClipEvent(load) is done when the object if first made. onClipEvent(enterframe) happens everytime a new frame is loaded, 30 times a second in the case of my movie. Its come to my attention by debugging that for some reason all the bad guys "alive" value is TRUE, instead of FALSE, if anyone coudl explain this Id be happy. The with command says do this done using this object. with(objectnamehere) Theres also code in there about bombs, just ignore that. [Edited by - SweetJesus on May 27, 2005 10:02:27 PM]

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!