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