
Last Resort
Last Resort is a reverse horror hack-and-slash game where you play as a monster who is held captive in a lab. You don't have the heart to kill but due to how you were born, you require blood to survive. One day, you decide to break free after hearing about a multiverse machine that has finished developing, it is capable of transferring your consciousness to another universe. So, as a last resort, you decide to break free to find a universe where you no longer need violence to survive.
Project Info
Last Resort was developed by NoLife, a group of passionate student developers from UOW Malaysia. This game was developed during UOW Malaysia's Sem Jam in May 2022.
Genre: Platformer, reverse horror, hack and slash
Engine: Stencyl
Platform: Web, HTML5, Flash
Team Size: 6 (3 programmers, 2 Artists, 1 Designer)
Duration: 2 days
My Role & Responsibilities
Gameplay Programmer:
-
Worked on player mechanics such as being able to stomp on enemies
-
Worked on level mechanics such as laser bullets and falling confetti which deals damage to the player
Gameplay Video
Stomp Enemies

The code snippet is how the player is able to stomp on enemies. It detects whether if the bottom part of the player collider hits any actor that are tagged 'Enemies' and will do damage to them.
​
Level Mechanic - Falling Confetti


This code snippet is how I implemented a level mechanic which is the falling confetti. For every 4 seconds, the confetti will spawn at certain coordinates that are within the level's dimension as shown above. If the confetti hits the player, the player will receive a knockback effect which pushes them away.
​
Level Mechanic - Laser


This code snippet is how I implemented a level mechanic which is Laser that comes out from a wall. Using the logic for the confetti, it spawns twice for every 2 seconds at certain coordinates as shown in the video above and it will damage the player.