-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matvey Sivachinski
authored and
Matvey Sivachinski
committed
Jan 29, 2024
1 parent
1b52ca4
commit 2cd601b
Showing
6 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
extends Node2D | ||
|
||
func _on_play_pressed(): | ||
get_tree().change_scene_to_file("res://prototypes/game-shadows-of-surveillance/levels/game-shadows-of-surveillance.tscn") | ||
|
||
|
||
func _on_quit_pressed(): | ||
get_tree().quit() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
[gd_scene load_steps=4 format=3 uid="uid://dljda0ivhil8u"] | ||
|
||
[ext_resource type="Texture2D" uid="uid://bauf77n1ppfno" path="res://background.png" id="1_0mdtr"] | ||
[ext_resource type="Script" path="res://Menu.gd" id="1_m24er"] | ||
|
||
[sub_resource type="SystemFont" id="SystemFont_vi34g"] | ||
|
||
[node name="MainMenu" type="Node2D"] | ||
script = ExtResource("1_m24er") | ||
|
||
[node name="Sprite2D" type="Sprite2D" parent="."] | ||
position = Vector2(594, 325) | ||
scale = Vector2(0.662946, 0.632139) | ||
texture = ExtResource("1_0mdtr") | ||
|
||
[node name="MarginContainer" type="MarginContainer" parent="."] | ||
offset_left = 464.0 | ||
offset_top = 210.0 | ||
offset_right = 802.0 | ||
offset_bottom = 455.0 | ||
|
||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] | ||
layout_mode = 2 | ||
alignment = 1 | ||
|
||
[node name="Play" type="Button" parent="MarginContainer/VBoxContainer"] | ||
layout_mode = 2 | ||
theme_override_fonts/font = SubResource("SystemFont_vi34g") | ||
text = "Play" | ||
|
||
[node name="Quit" type="Button" parent="MarginContainer/VBoxContainer"] | ||
layout_mode = 2 | ||
text = "Quit" | ||
|
||
[connection signal="pressed" from="MarginContainer/VBoxContainer/Play" to="." method="_on_play_pressed"] | ||
[connection signal="pressed" from="MarginContainer/VBoxContainer/Quit" to="." method="_on_quit_pressed"] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+98.4 KB
(150%)
prototypes/game-shadows-of-surveillance/levels/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.