-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathexample.tscn
More file actions
118 lines (85 loc) · 4.62 KB
/
example.tscn
File metadata and controls
118 lines (85 loc) · 4.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[gd_scene load_steps=11 format=4 uid="uid://bxcfp0cr2qjyp"]
[ext_resource type="Texture2D" uid="uid://bei6jjmgx817u" path="res://gfx/ground.png" id="1_2jas5"]
[ext_resource type="Texture2D" uid="uid://xosogaxgqico" path="res://gfx/player.png" id="2_wcwec"]
[ext_resource type="Script" uid="uid://c7ad4jx6mnj3q" path="res://addons/composition/component_owner.gd" id="3_rujmf"]
[ext_resource type="Script" uid="uid://8i0a4adbs780" path="res://component_movable.gd" id="4_kkclv"]
[ext_resource type="Script" uid="uid://bp1p6e5s3oo0p" path="res://component_control.gd" id="5_mt10o"]
[ext_resource type="Script" uid="uid://df1t83fag52x8" path="res://component_grid_object.gd" id="6_kkclv"]
[ext_resource type="PackedScene" uid="uid://cr4nlgapbwa2i" path="res://crate.tscn" id="7_kkclv"]
[ext_resource type="PackedScene" uid="uid://dysnoo1g7scmw" path="res://wall.tscn" id="8_kkclv"]
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_n51mc"]
texture = ExtResource("1_2jas5")
texture_region_size = Vector2i(64, 64)
0:0/0 = 0
[sub_resource type="TileSet" id="TileSet_8lvy3"]
tile_size = Vector2i(64, 64)
sources/0 = SubResource("TileSetAtlasSource_n51mc")
[node name="Example" type="TileMapLayer"]
position = Vector2(-32, -32)
tile_map_data = PackedByteArray("AAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAQAAAAAAAAAAAABAAAAAAAAAAAAAAABAAEAAAAAAAAAAAABAAIAAAAAAAAAAAABAAMAAAAAAAAAAAABAAQAAAAAAAAAAAACAAAAAAAAAAAAAAACAAEAAAAAAAAAAAACAAIAAAAAAAAAAAACAAMAAAAAAAAAAAACAAQAAAAAAAAAAAADAAAAAAAAAAAAAAADAAEAAAAAAAAAAAADAAIAAAAAAAAAAAADAAMAAAAAAAAAAAADAAQAAAAAAAAAAAAEAAAAAAAAAAAAAAAEAAEAAAAAAAAAAAAEAAIAAAAAAAAAAAAEAAMAAAAAAAAAAAAEAAQAAAAAAAAAAAAAAAUAAAAAAAAAAAABAAUAAAAAAAAAAAACAAUAAAAAAAAAAAADAAUAAAAAAAAAAAAEAAUAAAAAAAAAAAAFAAAAAAAAAAAAAAAFAAEAAAAAAAAAAAAFAAIAAAAAAAAAAAAFAAMAAAAAAAAAAAAFAAQAAAAAAAAAAAAFAAUAAAAAAAAAAAA=")
tile_set = SubResource("TileSet_8lvy3")
[node name="Player" type="Sprite2D" parent="."]
position = Vector2(160, 224)
texture = ExtResource("2_wcwec")
metadata/_edit_group_ = true
[node name="ComponentOwner" type="Node" parent="Player"]
script = ExtResource("3_rujmf")
ComponentMovable.move_time = 0.5
ComponentGridObject.solid = true
[node name="ComponentMovable" type="Node" parent="Player/ComponentOwner"]
script = ExtResource("4_kkclv")
move_time = 0.5
[node name="ComponentControl" type="Node" parent="Player/ComponentOwner"]
script = ExtResource("5_mt10o")
[node name="ComponentGridObject" type="Node" parent="Player/ComponentOwner"]
script = ExtResource("6_kkclv")
solid = true
[node name="Camera2D" type="Camera2D" parent="Player"]
[node name="Crate" parent="." instance=ExtResource("7_kkclv")]
position = Vector2(224, 160)
[node name="Wall" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(32, 224)
[node name="Wall2" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(32, 160)
[node name="Wall3" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(32, 96)
[node name="Wall4" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(32, 32)
[node name="Wall5" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(96, 32)
[node name="Wall6" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(160, 32)
[node name="Wall7" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(224, 32)
[node name="Wall8" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(288, 32)
[node name="Wall9" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(352, 32)
[node name="Wall10" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(352, 96)
[node name="Wall11" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(352, 160)
[node name="Wall12" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(352, 224)
[node name="Wall13" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(352, 288)
[node name="Wall14" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(352, 352)
[node name="Wall15" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(288, 352)
[node name="Wall16" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(224, 352)
[node name="Wall17" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(160, 352)
[node name="Wall18" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(96, 352)
[node name="Wall19" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(32, 352)
[node name="Wall20" parent="." instance=ExtResource("8_kkclv")]
position = Vector2(32, 288)
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Label" type="Label" parent="CanvasLayer"]
offset_right = 40.0
offset_bottom = 23.0
text = "WASD / Arrows
to move"