-
Notifications
You must be signed in to change notification settings - Fork 12
/
World.tscn
67 lines (60 loc) · 1.79 KB
/
World.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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://World.gd" type="Script" id=1]
[ext_resource path="res://JitterFreePixelArt.tres" type="Material" id=2]
[ext_resource path="res://TownLeft.png" type="Texture" id=3]
[ext_resource path="res://TownRight.png" type="Texture" id=4]
[sub_resource type="Animation" id=1]
resource_name = "Zooming"
length = 2.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Camera:zoom")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 1, 1 ), Vector2( 1, 1 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("TownLeft:scale")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 1, 1 ), Vector2( 1, 0.5 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("TownRight:scale")
tracks/2/interp = 2
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 1, 1 ), Vector2( 1, 0.5 ) ]
}
[node name="World" type="Node2D"]
script = ExtResource( 1 )
[node name="TownLeft" type="Sprite" parent="."]
material = ExtResource( 2 )
position = Vector2( 60, 70 )
texture = ExtResource( 3 )
[node name="TownRight" type="Sprite" parent="."]
position = Vector2( 180, 70 )
texture = ExtResource( 4 )
[node name="Camera" type="Camera2D" parent="."]
offset = Vector2( 120, 70 )
current = true
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
playback_speed = 0.25
anims/Zooming = SubResource( 1 )