tin particles put on dynamic layer

This commit is contained in:
pennyrigate 2023-03-08 03:13:42 -05:00
parent 8d81f986aa
commit feef4019a4
3 changed files with 11 additions and 16 deletions

View file

@ -1,7 +1,7 @@
[gd_scene load_steps=14 format=2]
[ext_resource path="res://graphics/enemy/explosion_small.png" type="Texture" id=1]
[ext_resource path="res://objects/enemy/tin_die.gd" type="Script" id=2]
[ext_resource path="res://objects/enemy/robot_die.gd" type="Script" id=2]
[ext_resource path="res://graphics/enemy/tin.png" type="Texture" id=3]
[ext_resource path="res://scripts/launch_rigid.gd" type="Script" id=4]
@ -50,6 +50,7 @@ script = ExtResource( 2 )
frames = SubResource( 7 )
[node name="Topleft" type="RigidBody2D" parent="."]
collision_layer = 4
mass = 2.0
physics_material_override = SubResource( 9 )
script = ExtResource( 4 )
@ -70,6 +71,7 @@ wait_time = 5.0
autostart = true
[node name="TopRight" type="RigidBody2D" parent="."]
collision_layer = 4
mass = 2.0
physics_material_override = SubResource( 9 )
script = ExtResource( 4 )
@ -91,6 +93,7 @@ wait_time = 5.3
autostart = true
[node name="BottomLeft" type="RigidBody2D" parent="."]
collision_layer = 4
mass = 2.0
physics_material_override = SubResource( 9 )
script = ExtResource( 4 )
@ -113,6 +116,7 @@ autostart = true
[node name="BottomRight" type="RigidBody2D" parent="."]
position = Vector2( 3, 3 )
collision_layer = 4
mass = 2.0
physics_material_override = SubResource( 9 )
script = ExtResource( 4 )