Some tutorial
This commit is contained in:
1 parent
d9d5bb3259
commit
c9510f8902
16 files changed
+134
-22
No files matched your search
@@ -0,0 +1,32 @@
|
||||
[gd_scene format=3 uid="uid://b1ccvtwwb1cl7"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c8m4d77hcr0pj" path="res://spike.tscn" id="1_phdmj"]
|
||||
[ext_resource type="Script" uid="uid://cvguf2l65n7xa" path="res://long_floor_spike.gd" id="1_rwckv"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_phdmj"]
|
||||
size = Vector2(74, 9)
|
||||
|
||||
[node name="Spike" type="Node2D" unique_id=1739014101]
|
||||
script = ExtResource("1_rwckv")
|
||||
|
||||
[node name="Spike" parent="." unique_id=324768327 instance=ExtResource("1_phdmj")]
|
||||
|
||||
[node name="Spike2" parent="." unique_id=1119131696 instance=ExtResource("1_phdmj")]
|
||||
position = Vector2(15, 0)
|
||||
|
||||
[node name="Spike5" parent="." unique_id=356301870 instance=ExtResource("1_phdmj")]
|
||||
position = Vector2(30, 0)
|
||||
|
||||
[node name="Spike3" parent="." unique_id=1414181030 instance=ExtResource("1_phdmj")]
|
||||
position = Vector2(-15, 0)
|
||||
|
||||
[node name="Spike4" parent="." unique_id=333001001 instance=ExtResource("1_phdmj")]
|
||||
position = Vector2(-30, 0)
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=2124972792]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=371031870]
|
||||
position = Vector2(0, 5.5)
|
||||
shape = SubResource("RectangleShape2D_phdmj")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
|
||||
Reference in new issue
Block a user