Asteroids v0.2

Your browser needs java to view projects. Click here to install Java.

user_icon D-Nos shared it 2 years, 2 months ago
152 views, 1 tagger, 4 people love it, 1 remix by 1 person, 18 downloads, in 1 gallery
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

 
oooo oooo 2 years, 1 month ago

I've made a version too! Let's compare...

vaz vaz 2 years, 2 months ago

(link to project) a similar project (dunno if it has anything you'd like to reference or not in the gameplay, but the opening animation at least is WAY cool).

D-Nos D-Nos 2 years, 2 months ago

Yeah, I thought about that, just haven't added it yet (spacebar ineffective if all bullets are still alive). I think sprites are still the best way to go because it's easier to see the bullet sprite and scripts as an entire object. I believe the original asteroids had a limitation to the number of bullets allowed. I just have to play it and find out what it is.

vaz vaz 2 years, 2 months ago

Maybe if all the bullets are currently active the spacebar can do nothing so they finish their course? I wonder if it would be inefficient to use the pen to draw/erase the bullets, which would just be tracked by global vars? I suppose you'd still have to limit the number of them (no arrays haha).

D-Nos D-Nos 2 years, 2 months ago

Yeah, I'm not sure about the bullets... your code had them dying if they hit the edge of the screen, but the arcade asteroids had the bullets wrap around I believe. I won't be able to work on it this weekend as I won't be in town, but I'm going to at least play a few rounds of the actual arcade version so I'll be ready to go come Sunday. Currently the bullets die after 40 iterations of movement. I'll probably end up lengthening it (and probably making them faster) based on what I find when I play. And THANKS. :P That's the idea... not most original but closest to the arcade.

dinther dinther 2 years, 2 months ago

Awesome! Thanks for the credit. What's up with the bullets disappearing at at a fixed distance? Are the guns of limited range? Can't wait for this game to be completed. I think it will be the best Asteroids game on Scratch yet.

vaz vaz 2 years, 2 months ago

What did you do for sin/cos?

chalkmarrow chalkmarrow 2 years, 2 months ago

Nice start. Looking forward to the completed game.

D-Nos D-Nos 2 years, 2 months ago

Special thanks to dinther for helping me figure out how to do sin/cos in scratch. This is a newer version featuring more realistic flight model, lives in the upper corner with score, a basic random ai for UFO and you can die if you touch the asteroid. Still can't blow the asteroid up yet. :) I'm getting to that.

Please Wait...