small boss progess
This commit is contained in:
parent
986c83ec8f
commit
3f9103b1c8
42 changed files with 769 additions and 54 deletions
|
|
@ -1,16 +0,0 @@
|
|||
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