-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tscn
58 lines (41 loc) · 1.1 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
[gd_scene load_steps=3 format=1]
[ext_resource path="res://main.gd" type="Script" id=1]
[ext_resource path="res://assets/bg.jpg" type="Texture" id=2]
[node name="mainNode" type="Node2D"]
z/relative = false
script/script = ExtResource( 1 )
[node name="camera" type="Camera2D" parent="."]
anchor_mode = 1
rotating = false
current = true
zoom = Vector2( 1, 1 )
limit/left = -10000000
limit/top = -10000000
limit/right = 10000000
limit/bottom = 10000000
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="main" type="Node2D" parent="."]
z/z = 1
[node name="map" type="Node2D" parent="main"]
z/z = 1
[node name="ui" type="CanvasLayer" parent="."]
layer = 1
offset = Vector2( 0, 0 )
rotation = 0.0
scale = Vector2( 1, 1 )
[node name="bgLayer" type="CanvasLayer" parent="."]
layer = -10
offset = Vector2( 0, 0 )
rotation = 0.0
scale = Vector2( 1, 1 )
[node name="bg" type="Sprite" parent="bgLayer"]
z/z = -1
texture = ExtResource( 2 )
centered = false