Endless runner game
- 7 Devlogs
- 31 Total hours
A movement focused endless runner game.
A movement focused endless runner game.
Two New Abilities
I added two new abilities to the game, the obstacle destroyer and the teleport.
Obstacle Destroyer:
Sends out a (kinda) cool orb of particles from the player (which i accidentally deleted the VFX graph for and spent a while remaking). Nearby obstacles will shrink into oblivion, turning complex rooms into flatter ones.
The block prefab has a seperate plane for each face so that the material can automatically tile according scale, so I put the script on the main component to simplify calling the method.
Teleport:
The ability pictured. It launches a ball from the player with added velocity. I used a rigidbody on the ball so that it would be able to bounce off walls and do other fun stuff.
After a couple of seconds of bouncing around chaotically, the ball turns into a portal that instantly teleports the player to its position. I used a VFX Graph for the portal effect.
I fixed the rigidbodies and colliders so the ball almost never bounces out of the map, teleporting you to your doom.
Credits:
Gabriel Aguiar Prod on Youtube for VFX Graph tutorials
Abilities Added
The updated movement system allowed me to add more advanced abilities into the game. The two semicircles near the cursor show you the amount of charge you have on that ability.
So far, there are two abilities. One makes you accelerate in the direction you are facing, while one gives you a massive horizontal boost but causes your camera to do a flip.
I also added double jumps, wall jumps, and a slide ability that converts downwards momentum into forwards momentum. These will eventually be upgrades, but at the moment you have them all at the start for testing purposes.
Broken Rooms + Movement Changes
Broken Rooms can now spawn, and the chance of them appearing increases with the amount of upgrades you have. They are more difficult than normal rooms.
I also reworked the movement system so that the x and z velocity gradually increase to the maximum speed to prepare for future additions.
Upgrades have now been added alot with some other changes.
I used a physics raycast similar to that of the button to select the upgrades. I also decided to not use static variables for changing stats when upgrades occur because they make the variables dissapear from the inspector.
Various sound effects have also been added (thanks to pixabay). I used two audio sources on the player to seperate the looping sounds from the sounds that only play one time. (Im also trying out a new devlog format)
Upgrade Rooms
Added upgrade rooms that spawn once in a while, stopping the destruction of the world until you leave them. I spent the bulk of the time deciding on how a button in the 3d space would detect when it was clicked, and finally settled on using a physics raycast.
QOL:
Added small dot in the middle of the screen denoting the cursor.
Endless Runner Game V0.1.5
Features:
Stamina orbs now randomly spawn and will restore half of the players stamina when run into. The effect for the orb was made with the help of some VFX graph tutorials.
Options menu now exists and can be used to adjust mouse sensitivity when in the game (dont set sensitivity to zero)
Destruction of the rooms speeds up the farther you go (game becomes impossible after 500+ score, will be balanced later).
Many other small QOL changes were made but are hardly worth noting.
DEVLOG UPDATE:
Changed project settings to use WebGPU so that the Visual Effects Graph displays on itch. Still slightly buggy due to WebGPU being experimental.
Endless Runner Game V0.1.4
First Devlog!!
The game is now in a somewhat playable condition. So far, the start and death menus, basic movement mechanics, and level generation mechanics are working.
I started work on this sometime in the middle of May but I never finished it so I’ll probably continue working on it for this challenge.
Fixed issues:
Shaders not loading in itch
Menus not scaling when going into fullscreen
Mouse not unlocking after dying
Connected project to github (finally)
Deleted a couple of lines causing errors when building the project
Here’s the itch.io link if you wanna check it out.
https://drcooke123.itch.io/endless-runner-test