View Full Version : Asteroids game help needed
interactionman
December 7th, 2004, 11:20 PM
Hi all,
I've got an asteroids game on the go, from a tutorial on www.studiowhiz.com (http://www.studiowhiz.com)
The problem I have is making the ship explode before resetting. I just can't seem to get it right! I'll upload what I've got so far and if anyone can help that'd be great.
Its in MX2004Pro. I added the explosion animation in frame 3 of "ship" but I have an idea that it might need to be a seperate explosion movie clip instead... I'm just at very good at this kinda stuff yet.
p.s. the graphics are just temporary so don't worry about that!
Thanks,
Stuart
frost_oni
December 8th, 2004, 07:14 AM
on hitting the asteroid, gotoAndStop to a frame that contains the explosion movie. and at the end of the movie, remove the ship.
theoretically, it should work. try it and let the world know.
interactionman
December 8th, 2004, 08:33 PM
on hitting the asteroid, gotoAndStop to a frame that contains the explosion movie. and at the end of the movie, remove the ship.
theoretically, it should work. try it and let the world know.
Thanks for the 'theory'.
Anyone got any practical help?
Cheers.
nipi
December 9th, 2004, 07:09 AM
in the destroyship function, before removing the MC ship, attach your explosion movie (MC shipdestroy) to the next highest depht and set position equal to ship position.
(you can also rotate this shipdestroy clip to the same as the ship is on same moment)
in the MC shipdestroy, last frame put code: removeMovieClip(_root.shipdestroy);
i get it work like this.
frost_oni
December 9th, 2004, 04:00 PM
i am making a pumped up version of asteroids in flash for my games course. i would have given you the whole file, but since my passing and/or failing relies on this sole game, i can't afford to do that. sorry. :(
interactionman
December 10th, 2004, 03:27 AM
Hey,
thanks for the replies everyone. I have managed to get the explosion working with some help from the guy who wrote the original tutorial I was following. Its on www.studiowhiz.com (http://www.studiowhiz.com) forums if anyone else is looking for a similar thing.
I'll post a link to my finished game as soon as its ready too.
Good luck with yours frost_oni. What kind of games course are you on and where abouts?
Stuart
aka Interactionman
frost_oni
December 10th, 2004, 08:01 AM
i actually studying computing science with games development at the greenwich university. a basic version of the game [ version 0.3 ] can be accessed at http://stuweb.cms.gre.ac.uk/~ps349/dodgeroids.html
i also have the latest version [ 0.8.7 ], but i fear that there are other persons on my course who'll nick my ideas. paranoid, maybe, but since there is no real way of protecting my actionscript, i'd rather not.
the first mode is basically dodging the asteroids and the second one shooting. i feel kinda bad not being able to post the real version [ 0.8.7 ] but i really want to do well for my course.
version 0.3 is very basic and !****e!. sorry for that :)
faye_smith
December 21st, 2004, 08:49 PM
http://stuweb.cms.gre.ac.uk/~ps349/dodgeroids.html
that link doesn't work
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.