Lone Survivor
Before You Play:
Lone Survivor is a casual puzzle Game. A simple Level Generator is made with random function. This game is part of my personal project.
How to Play:
Navigate through procedurally generated terrain, avoid obstacles, and reach the Exit. This project focuses on learning simple random generation techniques and understanding the challenges faced during development.
- Movement: Press Arrow Keys or W,A,S,D to move your character.
Credits for Assets:
Audio: PixaBay
Devlog:
Hello, fellow gamers and developers. Next up, I decided to create a maze game. Handcrafting each maze felt tedious, so I developed a level generator that creates a clear path between a set of spawn and end points. This challenge was both fun and rewarding! This project is part of the exciting journey, where I'm exploring new functionalities and expanding my skills in Unity.
Project Takeaways:
- Use of Arrays: Arrays to store multiple Game Objects for generating rooms.
- Random Function: Leveraged random functions to dynamically create each room and level with varied elements.
- OverlapCircle2D: Used to detect if a room exists (also used in Desert Runner for jumping but forgot to mention).
- Random Probabilities: Applied random functions to set different probabilities for generating rooms with varying numbers of exits.
- Switch Case: Used switch cases for efficient code management and handling different bools and other behaviors.
Leave a comment
Log in with itch.io to leave a comment.