Sign in to follow this  
  • entries
    22
  • comments
    30
  • views
    31317

Quadroids: Day 2

Sign in to follow this  
code_zombie

319 views

Well, this is the second day I have spent working on Quadroids. I now have the asteroids implemented, and the game is playable to a certain extent. You can move the ship around, shoot asteroids, and those asteroids will break apart into smaller asteroids.

For the collisions I use a basic distance calculation between the bullet and the center of the asteroid. If the bullet is within that distance, then I do a point-in-polygon collision test. Pretty simple stuff.

The asteroid shapes are randomly generated at the beginning of the level. There are 20 different shapes for each game, and they are randomly selected for each asteroid.

It would probably take me another day or so to finish a single player asteroids clone. I will likely do that, and then move towards implementing the multiplayer modes. Players will be able to start a game as a server, supply an ip address to connect to as a client, or have a game matched for them.

I have uploaded my current progress. It requires Windows to run. Go ahead and try it out and let me know if there are any issues at this point.

Download Link: Quadroids 0.1

Screenshot:

Sign in to follow this  


3 Comments


Recommended Comments

Just tried it on Vista (32-bit) and it works fine. Only thing that looked a bit weird was the positioning of the smaller asteroids that appear when you destroy a larger one, they seem to jump position slightly and is a big contrast to their otherwise smooth movement around the scren.

Nice demo though, gots lots of potential :-)

Share this comment


Link to comment
The smaller asteroids that are split from the larger ones have their position set as one of the vertices of the larger asteroid. I suppose I could scale those down so the smaller asteroids appear closer to the center of the larger asteroid.

I'm also going to add a particle effect when asteroids are destroyed. It will look like debris.

Those two things might reduce the effect that you pointed out.

Share this comment


Link to comment
I agree that would likely help a lot and the debris would be a nice addition, look forward to seeing how you progress :-)

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now