p5.js Game: Dragon!
Title: Dragon!
Genre: Game
Work by: Yanmin Zhou
Date: Oct 27, 2022
Software: p5.js, Edge
(This is a short project when I started coding.)
This is the first game I completed. It is made with only p5.js with no external library. It is a pixel game inspired by old archade games. I spent around 2 weeks on this project.
The assets used in this project are collected from the internet (all assets are referred in the code). The game is fully functional on the p5.js online editor. Links for both mouse control version and the keyboard control version are listed on the left. Feel free to check the code.
I made this project for Creative Coding course at New York University. The idea of making a game like this comes from The Hobbits.
Since no external libraries are used in this project, I built a collision detection system and a animation system from scratch.
I had to reduce the elements in the game due to limited time. In the final version, the dragon would land and destroy a building. When all 5 buildings are destroyed, game is over. In the original design, each building has a function and grants you a different ability. The abilities will be disabled when the related building is destroyed.
This is a portoflio website created by Yanmin Zhou with HTML and CSS. Works presented in this website are created by Yanmin Zhou. Some works may contain elements from the internet. Please note that this is not a public website and this is not an exhibition. Many works are made for academic purposes or personal interest.
Please do not copy any works on this site.
This is a Github Pages.