
Astroids
Story
Dashie: "This is my line"
Kion: "This is my line"
Concept




Program
- Loading Game Assets
- Load images for the player, asteroids, bullets, and background.
- Set up texture loading with SDL.
- Creating the Title Screen
- Display a title graphic.
- Implement a start button.
- Implementing the Game Loop
- Handle user input (arrow keys for movement, spacebar for shooting).
- Update the player's position.
- Update the asteroid positions and handle asteroid splitting.
- Handle collision detection between player, bullets, and asteroids.
- Render the player, asteroids, bullets, and background.
- Handling Player Movement
- Move the player forward and rotate left/right.
- Handling Player Shooting
- Allow the player to shoot bullets in the direction they are facing.
- Create and manage a bullet pool to reuse bullets.
- Implementing Asteroid Movement
- Move asteroids in random directions.
- Split asteroids into smaller pieces when shot.
- Ending the Game
- End the game when the player is destroyed by an asteroid.
- Display a game over message.
- Scoring
- Keep track of and display the player's score.
- Increment the score for each asteroid destroyed.
- Creating Success Screen
- Display a success message when all asteroids are destroyed.
- Provide an option to restart the game.
