-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.tscn
42 lines (35 loc) · 1.52 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
[gd_scene load_steps=7 format=3 uid="uid://gkx7yowcl28b"]
[ext_resource type="Script" path="res://Scripts/main.gd" id="1_i16jr"]
[ext_resource type="PackedScene" uid="uid://dl88or6dnb2eo" path="res://Backgrounds/background.tscn" id="2_yh54x"]
[ext_resource type="Texture2D" uid="uid://k2tv05oohpkc" path="res://Assets/play_hover.png" id="4_ryf57"]
[ext_resource type="Texture2D" uid="uid://dekqdc70d3wm3" path="res://Assets/play.png" id="4_x7bvl"]
[ext_resource type="AudioStream" uid="uid://d0irtxsc45atn" path="res://Assets/sunny-land/assets/sound/platformer_level03_loop.ogg" id="5_u1kec"]
[ext_resource type="Texture2D" uid="uid://4wjw6a478eb8" path="res://Assets/credits.png" id="6_hgqoo"]
[node name="Main" type="Node2D"]
script = ExtResource("1_i16jr")
[node name="Background" parent="." instance=ExtResource("2_yh54x")]
[node name="Play" type="TextureButton" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = 576.0
offset_top = 300.0
offset_right = 627.0
offset_bottom = 332.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(4, 4)
pivot_offset = Vector2(34, 22)
texture_normal = ExtResource("4_x7bvl")
texture_hover = ExtResource("4_ryf57")
stretch_mode = 3
[node name="BGM" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("5_u1kec")
autoplay = true
[node name="Credits" type="Sprite2D" parent="."]
position = Vector2(576, 564)
scale = Vector2(3, 3)
texture = ExtResource("6_hgqoo")
[connection signal="pressed" from="Play" to="." method="_on_play_pressed"]