Fixed names for a better traceability of code errors with orignal code lesson. End of lesson 25. Player is moving on the map viewport!

This commit is contained in:
2025-04-07 22:58:52 -03:00
parent 68a1e19ebe
commit 10fc584d1e
24 changed files with 162 additions and 70 deletions

View File

@@ -1,8 +1,8 @@
extends Node
var defaultMapPath:String = "res://scenes/game/maps/world_map.tscn"
var startMap:String = "res://scenes/game/maps/world_map.tscn"
var currentMapPath
var currentMap:String
func startNewGame():
currentMapPath = defaultMapPath
currentMap = startMap