Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actual Asteroids #21

Closed
bbergen opened this issue Sep 2, 2015 · 0 comments
Closed

Actual Asteroids #21

bbergen opened this issue Sep 2, 2015 · 0 comments

Comments

@bbergen
Copy link
Owner

bbergen commented Sep 2, 2015

We need some asteroids that slowly rotate around the screen.

Stick with simply large asteroids for now.
Collision, small asteroids, and explosions will be handled in a separate issue, but should be kept in mind during the design and implementation of this issue.

Ensure there is a function for generating random asteroids.

Random asteroids should:

  • Have a manageable range of vertices.
  • Random speed/direction of rotation
  • Always be a complete polygon (bound finite chain of points)
  • Be closed polygons
  • Fit roughly in the same bounds regardless of number of vertices
  • Should never be self-intersecting
  • Wrap the screen
  • Have all functionality encapsulated in asteroid.c, with only its API exposed in asteroid.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant