Made with Unity 2022.3.0f1 LTS
A task project assigned by Velo Games.
A simple endless runner game similar to subway surfers. With precedural level generation.
More info in VeloGames-task-2-tr.pdf in the root folder.
Zip for the newest PC Built can be found in GameBuilds folder. WASD for controls. Old builds can be found in older commits.
I decided to move the player using transform.position to achieve a more consistent movement feeling.
The player does not move in the Z direction to keep everything close to the origin point, which helps avoid floating point errors for endless runs. This approach prevents transforms from becoming exponentially larger as time progresses.
Using RigidBody resulted in somewhat "ragdoll-like" movements that felt draggy.
This was my first attempt at implementing object pooling and procedural level generation. (HUGE GAINS!)
I spent most of my time figuring out how to utilize them effectively. Due to venturing into "unknown" territories, during the first two weeks, my time to polish anything was limited. I feel like almost every aspect of the game is unpolished.
Overall, I'm pleased with how the project turned out. I'm happy that I was able to create somewhat playable "generated" levels.
Using Blender to Fix Mixamo's animations Z movement.
-
Collider logics sometimes does not work as intended. Like changing lanes just before a ramp causing player to fall down and crash. Or jumping on a platform from another platform can cause undetected landing.
-
TouchscreenSwipeListener.cs is currently empty, will not work with touch screen at this moment, just works with w,a,s,d on the keyboard.
16.02.2024 - Working in editor:
Main functions complete, buggy and "game feel" is bad.
25.02.2024 - Working PC build:
Precedural Level generation + Object Pooling added (plus more bugs with):
W,A,S,D to play, I know it's not optimum but its not finalized.
-Procedural Level Generation - LevelGenerator.cs
-Object pooling - PoolItem, ObjectPoolManager.cs
-Observer pattern - how main mechanics work, even player controller works with observer
A non profit project.
POLYGON Starter Pack - Low Poly 3D Art by Synty https://assetstore.unity.com/packages/essentials/tutorial-projects/polygon-starter-pack-low-poly-3d-art-by-synty-156819
Mixamo - Timmy (main character) & animations - Adobe - https://www.mixamo.com/#/
Toon Road Texture - https://opengameart.org/content/toon-road-texture
Grass texture - Grass 15 - https://opengameart.org/content/blended-textures-of-dirt-and-grass
select sound - https://pixabay.com/sound-effects/select-sound-121244/
heart pixel art - https://opengameart.org/content/heart-pixel-art
UI - Cartoon Mobile Rounded Icon Buttons - NathanLovatoArt - https://opengameart.org/content/cartoon-mobile-rounded-icon-buttons