Skip to content

Commit

Permalink
fix(brackeys13): adjusted the exhaust speed.
Browse files Browse the repository at this point in the history
  • Loading branch information
h0lybyte committed Feb 22, 2025
1 parent 219c3be commit 19becfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/gamejam/brackeys/13/scenes/spaceship.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,7 @@ position = Vector2(-8.34465e-07, 1.75)
scale = Vector2(0.84375, 0.832031)
sprite_frames = SubResource("SpriteFrames_wdipm")
animation = &"short_exhaust"
speed_scale = 2.0

[node name="Camera2D" type="Camera2D" parent="."]
position_smoothing_enabled = true
Expand Down
2 changes: 2 additions & 0 deletions apps/gamejam/brackeys/13/scripts/spaceship.gd
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ func exhaust():

func short_exhaust():
shield.play("short_exhaust")
# Global.set_starship_data("heat", ((Global.get_starship_data("heat") as int) - 1) as int)


func activate_shield():
Global.emit_signal("notification_received", "shield_active", "Shield was deployed", "warning")
Expand Down

0 comments on commit 19becfd

Please sign in to comment.