changes
This commit is contained in:
1 parent
65a3d49f55
commit
7106469bd1
8 files changed
+13
-8
No files matched your search
@@ -5,6 +5,6 @@ func _init(speaker:OverworldEntity, interacted:OverworldEntity ) -> void:
|
||||
speaker,
|
||||
interacted,
|
||||
[
|
||||
"Hello"
|
||||
"Hello, my name is GREEN and I am an NPC."
|
||||
]
|
||||
);
|
||||
@@ -148,8 +148,8 @@ func _process(delta:float) -> void:
|
||||
|
||||
# Handle entity leaving map bounds
|
||||
if !withinMapBounds:
|
||||
if !withinBoundsLastFrame:
|
||||
print("Entity ", self.name, " was out of map bounds for two frames");
|
||||
# if !withinBoundsLastFrame:
|
||||
# print("Entity ", self.name, " was out of map bounds for two frames");
|
||||
withinBoundsLastFrame = false;
|
||||
else:
|
||||
withinBoundsLastFrame = true;
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://bemw1wubl22hp
|
||||
Reference in new issue
Block a user