paintjam2020/Scene/TitleScreen.tscn
2020-04-05 16:15:17 +02:00

73 lines
2.4 KiB
Plaintext

[gd_scene load_steps=10 format=2]
[ext_resource path="res://Assets/CONTROLS BUTTON.png" type="Texture" id=1]
[ext_resource path="res://Scripts/TitleScreen.gd" type="Script" id=2]
[ext_resource path="res://Assets/QUIT BUTTON.png" type="Texture" id=3]
[ext_resource path="res://Sounds/PaintJamTitleScreen.wav" type="AudioStream" id=4]
[ext_resource path="res://Assets/Ecran titre Paintkilller.png" type="Texture" id=5]
[ext_resource path="res://Assets/START BUTTON.png" type="Texture" id=6]
[ext_resource path="res://Assets/CONTROLS.png" type="Texture" id=7]
[ext_resource path="res://Assets/CROIXQUIT.png" type="Texture" id=8]
[ext_resource path="res://Scripts/Controls.gd" type="Script" id=9]
[node name="TitleScreen" type="Node2D"]
script = ExtResource( 2 )
[node name="TitleScreen" type="Sprite" parent="."]
texture = ExtResource( 5 )
centered = false
[node name="QuitButton" type="TextureButton" parent="TitleScreen"]
margin_left = 1269.34
margin_top = 828.657
margin_right = 1661.34
margin_bottom = 1009.66
texture_normal = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ControlsButton" type="TextureButton" parent="TitleScreen"]
margin_left = 667.99
margin_top = 826.657
margin_right = 1244.99
margin_bottom = 1020.66
texture_normal = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="StartButton" type="TextureButton" parent="TitleScreen"]
margin_left = 249.108
margin_top = 848.87
margin_right = 639.108
margin_bottom = 1002.87
texture_normal = ExtResource( 6 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 4 )
autoplay = true
[node name="Controls" type="Sprite" parent="."]
visible = false
texture = ExtResource( 7 )
centered = false
script = ExtResource( 9 )
[node name="TextureButton" type="TextureButton" parent="Controls"]
margin_left = 1596.38
margin_top = -0.292526
margin_right = 1766.38
margin_bottom = 153.707
texture_normal = ExtResource( 8 )
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="TitleScreen/QuitButton" to="." method="_on_QuitButton_pressed"]
[connection signal="pressed" from="TitleScreen/ControlsButton" to="." method="_on_ControlsButton_pressed"]
[connection signal="pressed" from="TitleScreen/StartButton" to="." method="_on_StartButton_pressed"]
[connection signal="pressed" from="Controls/TextureButton" to="Controls" method="_on_TextureButton_pressed"]