Prepping for map stuff

This commit is contained in:
2025-05-08 09:24:22 -05:00
parent cf149e676c
commit f079f43664
7 changed files with 15 additions and 43 deletions

View File

@@ -21,9 +21,6 @@ var meshInstance:MeshInstance3D;
var underFootTile:int = -1;
var underFootPosition:Vector3;
var withinMapBounds:MapBounds;
var withinBoundsLastFrame:bool = true;
func _updateMaterial():
if !meshInstance:
return
@@ -140,14 +137,6 @@ func _ready() -> void:
func _process(delta:float) -> void:
if isPaused():
return;
# Handle entity leaving map bounds
if !withinMapBounds:
# if !withinBoundsLastFrame:
# print("Entity ", self.name, " was out of map bounds for two frames");
withinBoundsLastFrame = false;
else:
withinBoundsLastFrame = true;
# Update logic
updateOverworldLogic(delta)