🕹️ Tilemap Pathfinding Game

Welcome to the Tilemap Pathfinding Game! This Unity project explores 2D scene-building using tilemaps and demonstrates pathfinding techniques with Dijkstra’s Algorithm. Dive into two exciting gameplay modes and experience dynamic tile-based movement.

🎮 Features

Part 1: Tilemap Movement with Helpers

  • Navigate through a tilemap using arrow keys.
  • Collect items to unlock traversal abilities:
    • 🛶 Boat: Sail across water tiles.
    • 🐐 Goat: Climb mountains.
    • ⛏️ Pickaxe: Transform mountains into grass.
  • Stepping on invalid tiles ends the game and transitions to the next mode.

Part 2: Click-Based Movement with Dijkstra

  • Click on valid target tiles to calculate and move using the least-cost path.
  • Features weighted tiles, ensuring movement costs vary based on terrain.
  • Invalid clicks show a warning message but do not end the game.

💻 Development

This project was built in Unity as part of Unity Week 5: Two-dimensional Scene-building and Path-finding. The codebase demonstrates:

  • Tilemap-based scene construction.
  • Dynamic tile interaction using helper items.
  • Pathfinding implementation using BFS and Dijkstra algorithms.

🌐 GitHub Repository

Explore the full source code and learn more about the development process: 👉 Tilemap Pathfinding Game on GitHub

🛠️ How to Play

  1. Download the game from itch.io and extract it to your preferred folder.
  2. Run the game executable to start playing:
    • Use arrow keys for Part 1 to move and collect helpers.
    • Use mouse clicks for Part 2 to navigate with Dijkstra’s algorithm.
  3. Enjoy and explore the dynamic tile-based gameplay!


Published 20 days ago
StatusReleased
PlatformsHTML5
AuthorTwoBitCode
Made withUnity

Leave a comment

Log in with itch.io to leave a comment.