Two simple FlappyBird demonstrations written in C++
.
One demo use SDL2
, and other one use Qt
.
This demo is modified from my assignment of c++ lesson in my freshman year.
You can build it by scripts:
./ci/setup-ci-env.sh # setup develop environment
mkdir flappybird-sdl/build;
cd flappybird-sdl/build;
cmake .. && make && ./flappy-bird; # make and run it
This demo is based on Qt(QOpenGLWidget
).
How to open, build and run:
- Open
./flappybird-qt/flappybird-qt.pro
in Qt creator. - Build and run.
Detailed information about this Qt project: README-QT-PROJECT.md