Wednesday, October 6, 2010

Movin' Bullets

Alright, didn't have much time to work on my asteroids clone tonight since I got home at 10pm, but I was able to accomplish one thing: moving bullets!!

I also made an "check if out of bounds" function. But I'm not quite sure how to check if it works (have not tried the debugger yet). Also, I switched the vector bullet variable to a deque variable. Deque is a double ended que or something along those lines. While looking at ways to delete elements in a vector, I read it would be much easier to use a deque. I might have to change it back in the future who knows.

To do:
  • Have ship move from top to bottom, vice versa, and from right to left and vice versa
  • Plan asteroids and asteroid collision

No comments:

Post a Comment