Made kamikaze behavior and also fixed borders
This commit is contained in:
parent
ac263a1e65
commit
1ee0b529a8
10 changed files with 41 additions and 44 deletions
|
|
@ -8,6 +8,7 @@ position = Vector2(0.5, 0)
|
|||
gravity_scale = 0.0
|
||||
angular_damp = 1.0
|
||||
script = ExtResource("1_7nfg8")
|
||||
collision_damage = 15.0
|
||||
|
||||
[node name="Sprite" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2_vhl4r")
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
[ext_resource type="Texture2D" uid="uid://bchkncbniclhh" path="res://sprites/kamikaze.png" id="2_8ba3c"]
|
||||
|
||||
[node name="Hull" instance=ExtResource("1_l56rl")]
|
||||
collision_mask = 3
|
||||
max_hp = 10.0
|
||||
velocity_collision_treshold = 150.0
|
||||
collision_damage = 10.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue