-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tscn
46 lines (38 loc) · 1.15 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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://main.gd" type="Script" id=1]
[ext_resource path="res://background.png" type="Texture" id=2]
[ext_resource path="res://player.png" type="Texture" id=3]
[ext_resource path="res://bounded_camera.gd" type="Script" id=4]
[node name="main" type="Node"]
script = ExtResource( 1 )
[node name="background" type="Sprite" parent="."]
texture = ExtResource( 2 )
centered = false
[node name="icon" type="Sprite" parent="."]
position = Vector2( 150, 150 )
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 3 )
[node name="Camera2D" type="Camera2D" parent="icon"]
current = true
drag_margin_left = 0.0
drag_margin_top = 0.0
drag_margin_right = 0.0
drag_margin_bottom = 0.0
script = ExtResource( 4 )
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="hello" type="Button" parent="CanvasLayer"]
margin_left = 3.0
margin_top = 3.0
margin_right = 49.0
margin_bottom = 23.0
text = "Hello"
[node name="world" type="Button" parent="CanvasLayer"]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -53.0
margin_top = -23.0
margin_right = -3.0
margin_bottom = -3.0
text = "World"