Skip to content

Commit

Permalink
Add Nav layer
Browse files Browse the repository at this point in the history
  • Loading branch information
JMarshall5 committed Aug 19, 2024
1 parent 41e14d8 commit 68cc01c
Show file tree
Hide file tree
Showing 3 changed files with 320 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Characters/enemy_green_ooze.gd
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ var animTree_state_keys = ["idle","run","eaten_left","eaten_right"]

func _ready():
GlobalSignals.hero_size.connect(size_changed)
#await get_tree().create_timer(randi()*3).timeout
get_node("Timer").start()


# pathfinding timer, update pathfinding target
func _on_timer_timeout() -> void:
Expand Down
2 changes: 1 addition & 1 deletion Characters/hero.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ shape = SubResource("RectangleShape2D_aeal7")
tree_root = SubResource("AnimationNodeStateMachine_tovni")
anim_player = NodePath("../AnimationPlayer")
parameters/eat/BlendSpace2D/blend_position = Vector2(0.105263, 0.00532866)
parameters/eat/TimeScale/scale = 2.0
parameters/eat/TimeScale/scale = 1.5
parameters/explode/TimeScale/scale = 1.0
parameters/idle/BlendSpace2D/blend_position = Vector2(-0.0169492, 0.224377)
parameters/idle/TimeScale/scale = 0.5
Expand Down
Loading

0 comments on commit 68cc01c

Please sign in to comment.