Kion falls into the Digital World

Invaders

Story

Dashie: "This is my line"

Kion: "This is my line"

Concept

Title screen for brickout game with SDL on linux Title screen for brickout game with SDL on linux Title screen for brickout game with SDL on linux Title screen for brickout game with SDL on linux

Program

  1. Loading Game Assets
    • Load images for the player, enemies, bullets, and background.
    • Set up texture loading with SDL.
  2. Creating the Title Screen
    • Display a title graphic.
    • Implement a start button.
  3. Implementing the Game Loop
    • Handle user input (arrow keys for movement, spacebar for shooting).
    • Update the player's position.
    • Update the enemy positions and behavior (moving side to side and down).
    • Handle collision detection between bullets and enemies.
    • Handle player's death when colliding with enemies or enemy bullets.
    • Render the player, enemies, bullets, and background.
  4. Handling Enemy Movement
    • Move enemies side to side within the game area.
    • Move enemies down when reaching the edge of the screen.
    • Speed up enemy movement as the game progresses.
  5. Handling Player Movement
    • Move the player left and right within the game area.
  6. Handling Player Shooting
    • Allow the player to shoot bullets upwards.
    • Create and manage a bullet pool to reuse bullets.
  7. Ending the Game
    • End the game when all enemies are destroyed or the player is defeated.
    • Display a game over message.
  8. Scoring
    • Keep track of and display the player's score.
    • Increment the score for each enemy destroyed.
  9. Creating Success Screen
    • Display a success message when all enemies are destroyed.
    • Provide an option to restart the game.
Kion falls into the Digital World