You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+67-36Lines changed: 67 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# 🗺️ Tilemap Pathfinding Game
2
2
3
-
This project is based on **Unity Week 5: Two-dimensional Scene-building and Path-finding**. It demonstrates how to construct a 2D scene using tilemaps and implements path-finding using both **BFS** and **Dijkstra's algorithm**.
3
+
This project demonstrates 2D scene construction using tilemaps and pathfinding algorithms in Unity. It builds on concepts from **Unity Week 5: Two-dimensional Scene-building and Pathfinding**, incorporating both **BFS** and **Dijkstra's algorithm** for navigation.
4
4
5
-
📖 **Text explanations** for the foundational concepts are available [here](https://github.com/gamedev-at-ariel/gamedev-5782) in folder 07.
5
+
📖 **Foundational text explanations** are available [here](https://github.com/gamedev-at-ariel/gamedev-5782) in folder 07.
6
6
7
7
---
8
8
@@ -38,25 +38,25 @@ This project is based on **Unity Week 5: Two-dimensional Scene-building and Path
38
38
```csharp
39
39
voidAwake()
40
40
{
41
-
// Initialize with only grass and swamp as allowed tiles
- Implements **Dijkstra’s algorithm** to find the least-cost path in a weighted graph.
139
-
- Uses the `TilemapGraph` to represent the tilemap.
141
+
---
142
+
143
+
### **5. TargetMover** 🎯
144
+
145
+
**Purpose**: Handles click-based movement on the tilemap. Ensures that clicks are valid and calculates the least-cost path to the target using Dijkstra's Algorithm.
0 commit comments