add pressure plate
This commit is contained in:
parent
3a66839841
commit
9432084b53
9 changed files with 275 additions and 26 deletions
34
gmtk_2024/objects/Laser.tscn
Normal file
34
gmtk_2024/objects/Laser.tscn
Normal file
|
@ -0,0 +1,34 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://c168bkledwyya"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c3m4os8kteaix" path="res://textures/level01-spritesheet.png" id="1_6whpg"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_dplbn"]
|
||||
atlas = ExtResource("1_6whpg")
|
||||
region = Rect2(192.002, 64.0069, 32.0036, 31.9977)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_7sk3t"]
|
||||
atlas = ExtResource("1_6whpg")
|
||||
region = Rect2(128.019, 31.9952, 31.9608, 31.9949)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_jee2l"]
|
||||
size = Vector2(6, 28.5)
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D"]
|
||||
collision_mask = 5
|
||||
|
||||
[node name="Sprite2D2" type="Sprite2D" parent="."]
|
||||
position = Vector2(1, 0)
|
||||
texture = SubResource("AtlasTexture_dplbn")
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
||||
polygon = PackedVector2Array(-15, -15, -12, -11, 14, -11, 17, -15)
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="StaticBody2D"]
|
||||
texture = SubResource("AtlasTexture_7sk3t")
|
||||
region_rect = Rect2(0, 0, 288, 96)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
||||
position = Vector2(1, 2)
|
||||
shape = SubResource("RectangleShape2D_jee2l")
|
Loading…
Add table
Add a link
Reference in a new issue