-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tscn
117 lines (89 loc) · 3.73 KB
/
main.tscn
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
[gd_scene load_steps=11 format=2]
[ext_resource path="res://src/player.gd" type="Script" id=1]
[ext_resource path="res://icon.png" type="Texture" id=2]
[ext_resource path="res://src/Sprite.gd" type="Script" id=3]
[ext_resource path="res://GUI.tscn" type="PackedScene" id=4]
[ext_resource path="res://tilesets/tileset.tres" type="TileSet" id=5]
[ext_resource path="res://src/TileMap.gd" type="Script" id=6]
[ext_resource path="res://src/ClickCircle.gd" type="Script" id=7]
[ext_resource path="res://src/BreakDistance.gd" type="Script" id=8]
[ext_resource path="res://src/BlockPlacementGhost.gd" type="Script" id=9]
[sub_resource type="RectangleShape2D" id=1]
custom_solver_bias = 0.0
extents = Vector2( 9.66667, 10.2193 )
_sections_unfolded = [ "Resource" ]
[node name="Root" type="Node"]
_sections_unfolded = [ "Transform", "Visibility", "collision" ]
[node name="Player" type="KinematicBody2D" parent="." index="0"]
position = Vector2( 500, -200 )
input_pickable = false
collision_layer = 1
collision_mask = 1
collision/safe_margin = 0.08
script = ExtResource( 1 )
_sections_unfolded = [ "Collision", "Pickable", "Transform", "collision" ]
[node name="Sprite" type="Sprite" parent="Player" index="0"]
texture = ExtResource( 2 )
script = ExtResource( 3 )
_sections_unfolded = [ "Offset", "Transform" ]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player" index="1"]
scale = Vector2( 2, 2 )
shape = SubResource( 1 )
_sections_unfolded = [ "Transform", "Visibility" ]
[node name="Camera2D" type="Camera2D" parent="Player" index="2"]
anchor_mode = 1
rotating = false
current = true
zoom = Vector2( 1.5, 1.5 )
limit_left = -10000000
limit_top = -10000000
limit_right = 10000000
limit_bottom = 10000000
limit_smoothed = false
drag_margin_h_enabled = true
drag_margin_v_enabled = true
smoothing_enabled = false
smoothing_speed = 5.0
offset_v = 0.0
offset_h = 0.0
drag_margin_left = 0.2
drag_margin_top = 0.2
drag_margin_right = 0.2
drag_margin_bottom = 0.2
editor_draw_screen = true
editor_draw_limits = false
editor_draw_drag_margin = false
[node name="GUI" parent="Player/Camera2D" index="0" instance=ExtResource( 4 )]
[node name="TileMap" type="TileMap" parent="." index="1"]
mode = 0
tile_set = ExtResource( 5 )
cell_size = Vector2( 50, 50 )
cell_quadrant_size = 16
cell_custom_transform = Transform2D( 0, 0, 0, 0, 0, 0 )
cell_half_offset = 2
cell_tile_origin = 0
cell_y_sort = false
cell_clip_uv = false
collision_use_kinematic = true
collision_friction = 0.5
collision_bounce = 0.0
collision_layer = 1
collision_mask = 1
occluder_light_mask = 1
format = 1
tile_data = PoolIntArray( -131072, 0, 0, -131071, 0, 0, -131070, 0, 0, -131069, 0, 0, -131068, 0, 0, -131067, 0, 0, -131066, 0, 0, -131065, 0, 0, -131064, 0, 0, -131063, 0, 0, -131062, 0, 0, -131061, 0, 0, -131060, 0, 0, -131059, 0, 0, -131058, 0, 0, -131057, 0, 0, -131056, 0, 0, -131055, 0, 0, -131054, 0, 0, -131053, 0, 0, -131052, 0, 0, -131051, 0, 0, -131050, 0, 0 )
script = ExtResource( 6 )
_sections_unfolded = [ "Cell", "Collision", "Material", "Occluder", "Transform", "Visibility", "Z Index" ]
[node name="DebugNode2D" type="Node2D" parent="TileMap" index="0"]
_sections_unfolded = [ "Transform" ]
[node name="ClickCircle" type="Node2D" parent="TileMap/DebugNode2D" index="0"]
script = ExtResource( 7 )
_sections_unfolded = [ "Transform", "Visibility", "Z Index" ]
[node name="BreakDistance" type="Node2D" parent="TileMap/DebugNode2D" index="1"]
script = ExtResource( 8 )
_sections_unfolded = [ "Transform", "Visibility", "Z Index" ]
[node name="BlockPlacementGhost" type="Node2D" parent="TileMap" index="1"]
script = ExtResource( 9 )
[node name="Sprite" type="Sprite" parent="TileMap/BlockPlacementGhost" index="0"]
modulate = Color( 1, 1, 1, 0.498039 )
_sections_unfolded = [ "Region", "Visibility" ]