Unity Week 5: Two-Dimensional Scene-Building and Path-Finding

In this project, we created a random environment and ensured the player could reach 100 tiles. The base code was provided during class, and we modified it to achieve our goal.

Game Flow

  1. Random Map Generation: At the start of the game, a random map is generated and sorted.
  2. Player Placement:
    • The player is placed in a random location.
    • If the player spawns on an inaccessible tile, they are moved to another random location until a valid position is found.
    • Once placed, we check if the player can reach at least 100 tiles from their position.
    • If not, the placement process is repeated until the requirement is met.

Links:

github - https://github.com/Make-a-game-R-and-E/week-6-tilemap.git

StatusReleased
PlatformsHTML5
Authorelyasafko
Made withUnity

Leave a comment

Log in with itch.io to leave a comment.