GMTK-2024/gmtk_2024/objects/Laser.tscn
2024-08-19 03:15:07 +02:00

34 lines
1.2 KiB
Text

[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="Laser" 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")