25 lines
672 B
Text
25 lines
672 B
Text
|
|
[gd_scene format=3]
|
||
|
|
|
||
|
|
[ext_resource type="Script" path="res://Hazards/piston.gd" id="1_piston"]
|
||
|
|
|
||
|
|
[node name="Piston" type="Node2D"]
|
||
|
|
script = ExtResource("1_piston")
|
||
|
|
|
||
|
|
[node name="Shaft" type="Polygon2D" parent="."]
|
||
|
|
|
||
|
|
[node name="Head" type="AnimatableBody2D" parent="."]
|
||
|
|
position = Vector2(0, 8)
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Head"]
|
||
|
|
|
||
|
|
[node name="Plate" type="Polygon2D" parent="Head"]
|
||
|
|
|
||
|
|
[node name="Stripe" type="Polygon2D" parent="Head"]
|
||
|
|
|
||
|
|
[node name="CrushZone" type="Area2D" parent="Head"]
|
||
|
|
monitorable = false
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Head/CrushZone"]
|
||
|
|
|
||
|
|
[node name="Housing" type="Polygon2D" parent="."]
|