Game made fully by me. Based on a Phaser3 tutorial.
Team Size: 1
Engine: Phaser 3
|
|
|
This game grew out of this starter tutorial for how to make games in Phaser3
In this game you play a small red ball trying to collect stars while avoiding the spikey balls they summon and the seeker when it awakens
Movement was my favourite part to work on for this game. The tutorial has flat velocities on button presses but it found it stiff to move like that so I reworked the movement to be acceleration based instead which solved my issues there. In addition to this I added an aerial dash to the game that launches you towards the mouse with varying strength depending on how far away the pointer is to the player. One more change I made is a variable jump height, this is done by reducing gravity's effect on the player as long as you hold jump and are moving upwards.
After roughly a minute The Seeker will spawn at the center of the map. It is an entity that will chase the player. This is achieved by comparing its X and Y coordinates with the players and axle-independantly accelerating to reduce each delta position. Some extra acceleration is also added if it is currently moving away from the player.
This was one of the first proper (though still small) games I created. Looking back at this code, there sure is a lot of If-statements, more functions could be made to avoid repeating code as much and inefficient math that could be improved. But even with all those issues the game still works, it runs.
Ultimately: If it works, it works. There are may ways to reach a goal and while I can look back now and see may way to reach that goal more efficiently, I still got there with the knowledge I had at the time.
Phone number: +46-73 073 85 80
Work Email: SimonMikaelAgren@gmail.com