rayflap

A Flappy Bird clone written in C and compiled to WebAssembly.
git clone https://unitehenry.com/git/rayflap.git
Log | Files | Refs | README

README.md (606B)


      1 # Raylib Flappy Bird
      2 
      3 A Flappy Bird clone made with raylib.
      4 
      5 ## Building this Project
      6 
      7 ### Prerequisites
      8 
      9 Make sure you have the following dependencies installed before attempting to build.
     10 
     11 - `git`
     12 - `python`
     13 
     14 ### Build Steps
     15 
     16 ```bash
     17 # 1. Install emsdk
     18 source scripts/emsdk
     19 
     20 # 2. Compile raylib
     21 scripts/raylib
     22 
     23 # 3. Build the game
     24 scripts/build
     25 ```
     26 
     27 ## Running the Game
     28 
     29 After running the following command, you can access the game at `http://localhost:8080/game.html`.
     30 
     31 ```bash
     32 python -m http.server -d build 8080
     33 ```
     34 
     35 ## Credit
     36 
     37 - [Flappy Bird Assets](https://github.com/samuelcust/flappy-bird-assets)