/TheAviator2

Improvements over the original The Aviator game by Karim Maaloul

Primary LanguageJavaScript

The Aviator 2

Updated version of Kaim Maaloul's The Aviator, see his Article on Codrops, demo Demo and GitHub.

The Aviator 2

Article on Codrops

Demo

This repository is the archive of the source code for the Codrops article and will not get updated.

Start

Clone repository, in the code directory run php -S localhost:8123 and in your browser visit http://localhost:8123/.

License

Integrate or build upon it for free in your personal or commercial projects. Don't republish, redistribute or sell "as-is".

Credits

Libraries

Sounds

Sound effects obtained from https://www.zapsplat.com and https://freesound.org/.

From freesound:

Misc

Follow Michel: Twitter

Follow Karim: Twitter, Codepen

Updates over the original

07 April 2022

  • when replaying, remove all coins and enemies
  • fix bug about the state handling after dying
  • implement all audio
  • find audio files
    • propeller/airplane sound
    • shooting simple, double, better
    • background music
    • picking up collectible
    • collision with enemy
    • collecting a coin

06 April 2022

  • airplane recoil
  • make end screen after 5 levels
  • make collectibles logic
    • life: if life<3 and a small chance
    • simple gun: level 2
    • double gun: level 3
    • better gun: level 4

05 April 2022

  • fix bug that no more enemies are spawning
  • transfer to new three.js version
  • design collectibles
    • simple gun
    • better gun
    • double gun
    • life
  • complete simple gun, better gun and double gun

04 April 2022

  • design airplane's machine gun
  • redesign coins
  • each level has a different sea color
  • remove energy bar
  • show hearts as remaining hitpoints
  • show new level entry prominently
  • be able to shoot
  • copy initial game