Kion falls into the Digital World

Flappy Bird

Story

Dashie: "This is my line"

Kion: "This is my line"

Concept

Title screen for brickout game with SDL on linux Gameplay loop for brickout game with SDL on linux Option 1 for when Kion loses and gets trapped

Program

  1. Loading Game Assets
    • Load images for the bird, pipes, 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 (spacebar for bird jump).
    • Update the bird's position and velocity based on gravity and user input.
    • Move pipes horizontally towards the bird.
    • Handle collision detection between the bird and pipes or ground.
    • Render the bird, pipes, and background.
  4. Handling Bird Movement
    • Move the bird upwards when the spacebar is pressed.
    • Apply gravity to the bird to simulate falling.
  5. Implementing Pipe Movement
    • Move pipes from right to left towards the bird.
    • Randomly generate pipe heights.
    • Reposition pipes when they move off-screen.
  6. Ending the Game
    • End the game when the bird collides with a pipe or the ground.
    • Display a game over message.
  7. Scoring
    • Keep track of and display the player's score (based on number of pipes passed).
  8. Creating Success Screen
    • Display a success message when the player achieves a certain score.
    • Provide an option to restart the game.
Kion falls into the Digital World