File Exchange

image thumbnail

RoteAugen/flappybir​d-for-matlab

version 1.1.0.0 (123 KB) by Mingjing Zhang
MATLAB replica of the viral mobile game "Flappy Bird"

31.9K Downloads

Updated 04 Apr 2016

From GitHub

View license on GitHub

Flappybird for MATLAB
Author: Mingjing Zhang

As one of the most popular games on app stores before being taken down, Flappy Bird does not need any further introduction. Now, it has come back alive, on MATLAB.

This implementation is intentionally made to replicate the user experience of the original game, with all physical dimensions of objects being identical. The gravity and 'jumping pulse' are also carefully adjusted so that they match the original as closely as possible.

*MATLAB R2014a is recommended for this game to achieve the best graphical performance

Usage:
Simply execute flappybird.m. Alternatively, you can install "Flappy Bird.mlappinstal" as a MATLAB app.

Control:
Spacebar/Return/Uparrow/W/ -> Jump/Start game/Restart game;
ESC -> Quit Game.

Note:
This game app features a few technique breakthroughs that I utilize in a game for the first time. For instance, the bird sprite is represented as a SURFACE object, as opposed to an IMAGE object, so that it can easily rotate at any angle.

** If you encounter any problem, or have any suggestions / feedbacks, please drop a comment down below. **

Enjoy the endless flapping!

Cite As

Mingjing Zhang (2021). RoteAugen/flappybird-for-matlab (https://github.com/mingjingz/flappybird-for-matlab), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Acknowledgements

Inspired: pab47/FlappyBirdController, SpriteKit Framework

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.