Geometry Ninja
Cut glowing geometric shapes to earn points! Writing about my first android game and how you can try it out for yourself! 2020-04-30
Intro
In Febuary this year, I really wanted to create an android app, and I started to get really interested in games such as Fruit Ninja and Beat Saber. I had just got my new andoid phone, the Umidigi F2, so I decided I would program a game in HTML
, JavaScript
and CSS
right on my phone. After only one week of coding, I had a fully-working web game that looked really cool! I then ported it into Android Studio, and I created an app out of it.
If you want to download the APK file to try it yourself, simply click here! If you do not own an android device and would still want to try it out, you can click here for the web version!
Demo
Here's a video demo of me playing the game:
How to play
When you open up the app, you will be greated with the following title screen:
It contains the following things:
- Your highscore
- 4 sliders: the top 3 control the color of the game while the bottom one controls the graphics type used (for performance improvement)
- A vibration enable button: it enables or disables the vibration in the game
- A debug button (``): it enables me to debug the game more easily, it is not essential to the gameplay.
- A Tap to Start button
When you click said Tap to Start button, it starts the game! Just drag your finger on the screen to cut the polygons in half!
Wait, so that's it? Is it really that simple?
Actually... not so fast. In fact, many types of polygons exist, and they are unlocked when you reach a certain number of points (they are unlocked if they are colored):
- Rectangle, unlocks at 0 points: Worth 1 point when cut
- Circle, unlocks at 100 points: The game ends if cut
- Hexagon, unlocks at 250 points: Worth 50 points when cut
- Pentagon, unlocks at 500 points: If cut, will increase the amount of circles on screen for a limited time
- Triangle, unlocks at 1000 points: When cut, Slows down the game 8x and gives you 5x point bonus for a limited time
Conclusion
When had the idea to create a game, I had one goal in mind:
I'll program an android game to learn a bunch about app development!
It turns out that I have learned nothing about android app development, because I programmed the game in HTML
and then ported it to android using Android Studio. Despite that, I will continue to program small apps in the future, because it was a lot of fun!