Skip to content

Commit

Permalink
Update hero animation sheet, fix explosion bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JMarshall5 committed Aug 19, 2024
1 parent 18845cd commit 16050ca
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1,576 deletions.
Binary file modified Characters/Art/PurpleSlimeAnimations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Characters/Art/PurpleSlimeAnimations.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

importer="texture"
type="CompressedTexture2D"
uid="uid://dh8trbmlroqr1"
uid="uid://cgfrhm8hxs6pn"
path="res://.godot/imported/PurpleSlimeAnimations.png-c7e1bedf3acae9cf6ba43be46d77cbf1.ctex"
metadata={
"vram_texture": false
Expand Down
2 changes: 0 additions & 2 deletions Characters/hero.gd
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ func animate() -> void:

func _on_eat_timer_timeout() -> void:
eating=false
animationTree.set(blend_pos_paths[state],blend_position)


func _on_grow_timeout():
hero_size += 10
Expand Down
2 changes: 1 addition & 1 deletion Characters/hero.tscn
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[gd_scene load_steps=55 format=3 uid="uid://csbw7e8w63gif"]

[ext_resource type="Script" path="res://Characters/hero.gd" id="1_hje2x"]
[ext_resource type="Texture2D" uid="uid://dh8trbmlroqr1" path="res://Characters/Art/PurpleSlimeAnimations.png" id="2_4t7wk"]
[ext_resource type="Texture2D" uid="uid://cgfrhm8hxs6pn" path="res://Characters/Art/PurpleSlimeAnimations.png" id="2_4t7wk"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_aeal7"]
size = Vector2(14, 6.5)
Expand Down
Loading

0 comments on commit 16050ca

Please sign in to comment.