Added effects manager and two effects to test attached to the player

scene.
This commit is contained in:
Henry Faber 2026-06-24 14:48:02 +01:00
parent 1200ac7e32
commit b4c4a66ce8
19 changed files with 322 additions and 40 deletions

View file

@ -30,11 +30,13 @@ func tick(delta: float):
%Ship.frame = 2
%Ship/Thrusters.flip_h = true
%Ship/Thrusters.animation = "banked"
%Ship/Thrusters.position.x = %Ship.position.x+1
elif input.x < 0:
player.position.x = player.position.x-1
%Ship.frame = 1
%Ship/Thrusters.flip_h = false
%Ship/Thrusters.animation = "banked"
%Ship/Thrusters.position.x = %Ship.position.x-1
else:
%Ship.frame = 0
player.position.x = player.position.x