Compare commits

...

2 Commits

Author SHA1 Message Date
Artur David 44d83f30f1 Added spinning animation (upcoming spin attack?) 2026-06-18 11:12:07 +02:00
Artur David 6cea1ea20a fix brew explosion defaulting to true (should be set by perk only) 2026-06-18 10:57:34 +02:00
2 changed files with 20 additions and 2 deletions

View File

@ -681,6 +681,23 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_mwp2n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ry8ed")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_au8ao")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fr8ja")
}],
"loop": true,
"name": &"spinning",
"speed": 20.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_giy8y")
}, {
"duration": 1.0,
@ -788,7 +805,8 @@ script = ExtResource("1_3vyb7")
texture_filter = 1
position = Vector2(0, -2)
sprite_frames = SubResource("SpriteFrames_giy8y")
animation = &"run_down"
animation = &"spinning"
frame_progress = 0.6005584
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=896441301]
position = Vector2(0, 2)

View File

@ -11,7 +11,7 @@ var burning_colors: Array[AtlasTexture] = []
var slot_states = [0, 0, 0]
var progres_index = 0
var is_brewing
var brew_explosion = true
var brew_explosion = false
@onready var witch = get_parent()
@onready var player = get_node("/root/Game/World/Player")
var explosion_scene = preload("res://scenes/explosion.tscn")