This repository has been archived on 2024-04-19. You can view files and clone it, but cannot push or open issues or pull requests.
Jessist/Scenes/Modules/Camera.tscn
2022-06-18 13:05:48 +02:00

140 lines
4 KiB
Text

[gd_scene load_steps=13 format=2]
[ext_resource path="res://Images/UI/menubutton-pressed.png" type="Texture" id=2]
[ext_resource path="res://Images/UI/continuebutton.png" type="Texture" id=3]
[ext_resource path="res://Images/UI/menubutton.png" type="Texture" id=4]
[ext_resource path="res://Images/menu-overlay.png" type="Texture" id=5]
[ext_resource path="res://Images/logo-transparency.png" type="Texture" id=6]
[ext_resource path="res://InterFont.ttf" type="DynamicFontData" id=7]
[ext_resource path="res://Theme/Jessist_UI.tres" type="Theme" id=8]
[ext_resource path="res://Images/UI/continuebutton-pressed.png" type="Texture" id=9]
[ext_resource path="res://Scripts/GameManager.gd" type="Script" id=10]
[ext_resource path="res://Images/UI/retrybutton.png" type="Texture" id=11]
[ext_resource path="res://Images/UI/retrybutton-pressed.png" type="Texture" id=12]
[sub_resource type="DynamicFont" id=1]
size = 128
font_data = ExtResource( 7 )
[node name="Camera" type="Camera2D"]
position = Vector2( 960, 540 )
scale = Vector2( 0.999996, 0.999996 )
current = true
limit_left = 0
limit_top = 0
limit_bottom = 1080
limit_smoothed = true
drag_margin_left = 0.4
drag_margin_top = 1.0
drag_margin_bottom = 1.0
editor_draw_limits = true
editor_draw_drag_margin = true
script = ExtResource( 10 )
[node name="Menu" type="NinePatchRect" parent="."]
visible = false
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -960.0
margin_top = -540.0
margin_right = 960.0
margin_bottom = 540.0
texture = ExtResource( 5 )
[node name="JessistLogo" type="NinePatchRect" parent="Menu"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -265.0
margin_top = 92.0
margin_right = 265.0
margin_bottom = 342.0
texture = ExtResource( 6 )
[node name="ContinueButton" type="TextureButton" parent="Menu"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -240.0
margin_top = -148.0
margin_right = 240.0
margin_bottom = -12.0
texture_normal = ExtResource( 3 )
texture_pressed = ExtResource( 9 )
[node name="MenuButton" type="TextureButton" parent="Menu"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -240.0
margin_top = 12.0
margin_right = 240.0
margin_bottom = 148.0
texture_normal = ExtResource( 4 )
texture_pressed = ExtResource( 2 )
[node name="GameOver" type="NinePatchRect" parent="."]
visible = false
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -960.0
margin_top = -540.0
margin_right = 960.0
margin_bottom = 540.0
texture = ExtResource( 5 )
[node name="Text" type="RichTextLabel" parent="GameOver"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -370.0
margin_top = 156.0
margin_right = 371.0
margin_bottom = 317.0
theme = ExtResource( 8 )
custom_fonts/normal_font = SubResource( 1 )
bbcode_enabled = true
bbcode_text = "[shake rate=20 level=10]Game Over![/shake]"
text = "Game Over!"
[node name="JessistLogo" type="NinePatchRect" parent="GameOver"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -132.5
margin_top = 21.0001
margin_right = 132.5
margin_bottom = 146.0
texture = ExtResource( 6 )
[node name="RetryButton" type="TextureButton" parent="GameOver"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -240.0
margin_top = -148.0
margin_right = 240.0
margin_bottom = -12.0
texture_normal = ExtResource( 11 )
texture_pressed = ExtResource( 12 )
[node name="MenuButton" type="TextureButton" parent="GameOver"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -240.0
margin_top = 12.0
margin_right = 240.0
margin_bottom = 148.0
texture_normal = ExtResource( 4 )
texture_pressed = ExtResource( 2 )
[connection signal="pressed" from="Menu/ContinueButton" to="." method="continueButtonPressed"]
[connection signal="pressed" from="Menu/MenuButton" to="." method="menuButtonPressed"]
[connection signal="pressed" from="GameOver/RetryButton" to="." method="retryButtonPressed"]
[connection signal="pressed" from="GameOver/MenuButton" to="." method="menuButtonPressed"]