boss start, some enemies
This commit is contained in:
parent
93968ff9fb
commit
66ecb04bd1
123 changed files with 1884 additions and 499 deletions
16
scenes/claw.gd
Normal file
16
scenes/claw.gd
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
class_name Claw extends Sprite2D
|
||||
|
||||
func smash():
|
||||
await get_tree().create_timer(0.8).timeout
|
||||
var t = create_tween()
|
||||
|
||||
t.tween_property(self, "position:y", 0, 0.1);
|
||||
await t.tween_property(self, "position:y", -80, 1).finished;
|
||||
|
||||
|
||||
func pickup():
|
||||
await get_tree().create_timer(0.2).timeout
|
||||
var t = create_tween()
|
||||
|
||||
t.tween_property(self, "position:y", 0, 0.4);
|
||||
await t.tween_property(self, "position:y", -80, 1).finished;
|
||||
Loading…
Add table
Add a link
Reference in a new issue