Flappy Bird Remake
- Anh Moc Lan
- 2 thg 1, 2025
- 1 phút đọc

Flappy Bird Remake
Flappy Bird Remake is a 2D arcade game developed as a capstone project using Qt 6 and QML. This project aims to replicate the addictive gameplay of the original Flappy Bird, while adding a modern implementation of game mechanics and score management.
Features
Bird Movement and Gravity Simulation: Smooth animations for bird jumps and gravity effects.
Pipe Obstacles: Dynamically generated obstacles with collision detection.
Score Tracking: Scores are calculated based on the number of pipes passed.
High Score Leaderboard: Stores and displays the top 5 scores persistently using SQLite.
User Input Handling: Support for keyboard (spacebar) and mouse controls.
Audio Effects: Background music and sound effects enhance the player experience.
Technologies Used
Frontend:
Qt 6 & QML: For the game's user interface and animations.
JavaScript: To manage game logic.
Database:
SQLite: Stores high scores with fields like ID, Score, and DateTime.
Architecture
Game Logic:
Real-time animations using SequentialAnimation and Timer.
Collision detection for pipes and ground.
Functions to handle bird control and game termination.
Score Management:
saveScore(): Saves the final score to the database.
fetchTopScores(): Retrieves the top 5 scores for display.
Graphics:
Bird sprite and animated background tiles.
Horizontal scrolling pipes and ground.
UI Design:
Landing page.
Gameplay screen.
Game-over screen with leaderboard.
Deployment
Source Code:
Demo:



Bình luận