same as below
This commit is contained in:
parent
2164eade29
commit
cb0ffac056
1674 changed files with 29651 additions and 93 deletions
16
entagon.tscn
16
entagon.tscn
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=13 format=3 uid="uid://c54oi61t8bvtu"]
|
||||
[gd_scene load_steps=14 format=3 uid="uid://c54oi61t8bvtu"]
|
||||
|
||||
[ext_resource type="Script" path="res://Entagon.gd" id="1_726g8"]
|
||||
[ext_resource type="Texture2D" uid="uid://b6xcx23pog1hf" path="res://entagon.png" id="2_vqlca"]
|
||||
|
@ -58,12 +58,16 @@ animations = [{
|
|||
"speed": 10.0
|
||||
}]
|
||||
|
||||
[node name="Entagon" type="RigidBody2D" groups=["enemy"]]
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_eo18f"]
|
||||
radius = 30.0
|
||||
|
||||
[node name="Entagon" type="RigidBody2D" groups=["destructible", "enemy"]]
|
||||
collision_mask = 0
|
||||
physics_material_override = SubResource("PhysicsMaterial_odemo")
|
||||
gravity_scale = 1.66533e-16
|
||||
max_contacts_reported = 2
|
||||
contact_monitor = true
|
||||
linear_damp = 1.0
|
||||
linear_damp = 3.0
|
||||
angular_velocity = 0.174533
|
||||
script = ExtResource("1_726g8")
|
||||
|
||||
|
@ -92,8 +96,8 @@ texture_mode = 1
|
|||
script = ExtResource("5_w6b4q")
|
||||
target_shield = true
|
||||
|
||||
[node name="RayCast2D" type="RayCast2D" parent="TrajectoryDisplay"]
|
||||
target_position = Vector2(5000, 2.08165e-12)
|
||||
collision_mask = 3
|
||||
[node name="ShapeCast2D" type="ShapeCast2D" parent="TrajectoryDisplay"]
|
||||
shape = SubResource("CircleShape2D_eo18f")
|
||||
target_position = Vector2(2.08165e-12, 500)
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="hit"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue