art update
This commit is contained in:
parent
6a4e9b7a83
commit
4e4dd28f26
39 changed files with 394 additions and 242 deletions
|
@ -2,6 +2,9 @@ extends RigidBody2D
|
|||
|
||||
var bounces = 0
|
||||
|
||||
func _process(delta):
|
||||
$Sprite2D.global_rotation = linear_velocity.angle() + deg_to_rad(90)
|
||||
|
||||
func hit(body):
|
||||
if body.is_in_group("destructible"):
|
||||
if body.has_method("destroy"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue