Files
przygody-pana-cegly/objects/entities/cage.tscn

30 lines
1.1 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://to2xnqev0pu1"]
[ext_resource type="Texture2D" uid="uid://djifxc5x0dyrw" path="res://sprites/ppc_tileset.png" id="1_5poh3"]
[ext_resource type="Script" uid="uid://ddplvyjqguxtl" path="res://scripts/components/cage_component.gd" id="2_unomj"]
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_aivtb"]
texture = ExtResource("1_5poh3")
2:9/size_in_atlas = Vector2i(2, 2)
2:9/0 = 0
2:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
[sub_resource type="TileSet" id="TileSet_67qt2"]
tile_size = Vector2i(32, 32)
physics_layer_0/collision_layer = 1
sources/0 = SubResource("TileSetAtlasSource_aivtb")
[node name="Cage" type="Node2D"]
z_index = 2
scale = Vector2(2, 2)
[node name="TileMapLayer" type="TileMapLayer" parent="."]
position = Vector2(20, 4)
tile_map_data = PackedByteArray(0, 0, 255, 255, 255, 255, 0, 0, 2, 0, 9, 0, 0, 0)
tile_set = SubResource("TileSet_67qt2")
[node name="CageComponent" type="Node" parent="." node_paths=PackedStringArray("root")]
script = ExtResource("2_unomj")
root = NodePath("..")
should_free = false