You are browsing as a guest. Sign up (or log in) to start making projects!

2h 54m 12s logged

Devlog №8

Bird Physics & Rendering

  • Flicker-Free Rendering

    To prevent screen flickering caused by redrawing the entire screen, I optimized the loop by clearing only the bird’s exact position before rendering its new frame.

  • Physics Implementation

    Movement relies on both velocity and acceleration:

    • Acceleration continuously increases the downward velocity (gravity).
    • Jump mechanic resets the downward velocity to initial on every input.

Next Steps: Wall Generation

  • Obstacle Setup

    I need to create an array of one dynamic wall.

  • Recycling Logic

    • As soon as a wall reaches the left edge of the screen, it will wrap around to the right.
    • The height/position will randomize each time it reappears to form a continuous level.
0
21

Comments 2

@BeytiKebab

OMG this looks really cool! are you using any game libraries like pygame, or any graphical libraries?

@kdenis

@BeytiKebab Thanks! I write in C++ and build all the game logic myself from scratch. I only use the Adafruit_GFX library to render graphics on the screen.