-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.tscn
85 lines (68 loc) · 2.72 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
[gd_scene load_steps=5 format=1]
[ext_resource path="res://tilesets/grasslands/export/grasslands.tres" type="TileSet" id=1]
[ext_resource path="res://player/player.gd" type="Script" id=2]
[ext_resource path="res://player/character.png" type="Texture" id=3]
[sub_resource type="CapsuleShape2D" id=1]
custom_solver_bias = 0.0
radius = 7.45166
height = 30.1904
[node name="main" type="Control"]
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 0.0
margin/top = 0.0
margin/right = 40.0
margin/bottom = 40.0
[node name="tile_map" type="TileMap" parent="."]
mode = 0
tile_set = ExtResource( 1 )
cell/size = Vector2( 32, 32 )
cell/quadrant_size = 16
cell/custom_transform = Matrix32( 1, 0, 0, 1, 0, 0 )
cell/half_offset = 2
cell/tile_origin = 0
cell/y_sort = false
collision/use_kinematic = false
collision/friction = 1.0
collision/bounce = 0.0
collision/layers = 1
collision/mask = 1
occluder/light_mask = 1
tile_data = IntArray( 786480, 1, 786481, 2, 786482, 0, 786483, 0, 786484, 0, 786485, 0, 786486, 0, 786487, 0, 786488, 0, 852014, 1, 852015, 2, 852016, 0, 852017, 0, 917523, 0, 917524, 0, 917525, 0, 917526, 0, 917548, 1, 917549, 2, 917550, 0, 917551, 0, 983040, 0, 983041, 0, 983042, 0, 983043, 0, 983044, 0, 983045, 0, 983046, 0, 983047, 0, 983048, 0, 983049, 0, 983050, 0, 983051, 0, 983052, 0, 983053, 0, 983054, 0, 983055, 0, 983056, 0, 983057, 0, 983058, 0, 983059, 0, 983060, 0, 983061, 0, 983062, 0, 983063, 0, 983064, 0, 983065, 0, 983066, 0, 983067, 0, 983068, 0, 983069, 0, 983070, 0, 983071, 0, 983072, 3, 983073, 3, 983074, 3, 983075, 3, 983076, 3, 983077, 3, 983078, 3, 983079, 3, 983080, 3, 983081, 3, 983082, 3, 983083, 3, 983084, 0, 983085, 0 )
[node name="player" type="KinematicBody2D" parent="."]
transform/pos = Vector2( 487.446, 409.231 )
input/pickable = false
shapes/0/shape = SubResource( 1 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0.385559, 0.899567 )
shapes/0/trigger = false
collision/layers = 1
collision/mask = 1
collision/margin = 0.08
script/script = ExtResource( 2 )
[node name="sprite" type="Sprite" parent="player"]
texture = ExtResource( 3 )
[node name="camera_2d" type="Camera2D" parent="player"]
anchor_mode = 1
rotating = false
current = true
zoom = Vector2( 0.5, 0.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/enable = false
smoothing/speed = 5.0
drag_margin/left = 0.2
drag_margin/top = 0.2
drag_margin/right = 0.2
drag_margin/bottom = 0.2
[node name="collision" type="CollisionShape2D" parent="player"]
transform/pos = Vector2( 0.385559, 0.899567 )
shape = SubResource( 1 )
trigger = false
_update_shape_index = 0