test rooms
This commit is contained in:
parent
9fb4170b51
commit
f4dbc0249b
31 changed files with 338 additions and 42 deletions
20
levels/Testrooms/testboss.tscn
Normal file
20
levels/Testrooms/testboss.tscn
Normal file
|
@ -0,0 +1,20 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://cma7ddp0r4rm"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dursxelwwxe8u" path="res://sprites/common/placeholder/player.png" id="1_hxdyl"]
|
||||
|
||||
[node name="Testboss" type="Node2D"]
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
offset_left = 583.0
|
||||
offset_top = 4.0
|
||||
offset_right = 711.0
|
||||
offset_bottom = 260.0
|
||||
texture = ExtResource("1_hxdyl")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
offset_left = 327.0
|
||||
offset_top = 354.0
|
||||
offset_right = 957.0
|
||||
offset_bottom = 409.0
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "Boss spawns at EBU pattern area"
|
10
levels/Testrooms/testspawn.tscn
Normal file
10
levels/Testrooms/testspawn.tscn
Normal file
|
@ -0,0 +1,10 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://b5cxd2rmstnpt"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://kxvipok4tnuw" path="res://backgounds/wip.jpg" id="1_yw0he"]
|
||||
|
||||
[node name="Testspawn" type="Node2D"]
|
||||
|
||||
[node name="WIP" type="TextureRect" parent="."]
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
texture = ExtResource("1_yw0he")
|
|
@ -45,7 +45,7 @@ func _complete():
|
|||
# This is like autoloading the scene, only
|
||||
# it happens after already loading the main scene.
|
||||
if Global.debug:
|
||||
get_tree().change_scene_to_file("res://levels/scene.tscn")
|
||||
get_tree().change_scene_to_file("res://levels/ui/scene.tscn")
|
||||
else:
|
||||
get_tree().change_scene_to_file("res://backgounds/result.tscn")
|
||||
#get_tree().root.add_child(title)
|
|
@ -1,10 +1,10 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://g8ajwoud48us"]
|
||||
|
||||
[ext_resource type="Script" path="res://levels/credits.gd" id="1_y6orl"]
|
||||
[ext_resource type="Script" path="res://levels/ui/credits.gd" id="1_y6orl"]
|
||||
[ext_resource type="VideoStream" path="res://backgounds/nebula_-_6044 (720p).ogv" id="2_0cref"]
|
||||
[ext_resource type="Script" path="res://nebula.gd" id="3_ffw0g"]
|
||||
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="5_yvope"]
|
||||
[ext_resource type="Script" path="res://levels/roll.gd" id="6_3q8sp"]
|
||||
[ext_resource type="Script" path="res://levels/ui/roll.gd" id="6_3q8sp"]
|
||||
|
||||
[node name="credits" type="Node2D"]
|
||||
script = ExtResource("1_y6orl")
|
|
@ -41,13 +41,13 @@ func _input(event):
|
|||
|
||||
|
||||
func _on_scene_selector_pressed():
|
||||
get_tree().change_scene_to_file("res://levels/scene.tscn")
|
||||
get_tree().change_scene_to_file("res://levels/ui/scene.tscn")
|
||||
|
||||
|
||||
func _on_sound_test_pressed():
|
||||
get_tree().change_scene_to_file("res://levels/soundtest.tscn")
|
||||
get_tree().change_scene_to_file("res://levels/ui/soundtest.tscn")
|
||||
|
||||
|
||||
func _on_back_pressed():
|
||||
Global.debug = false
|
||||
get_tree().change_scene_to_file("res://levels/tmenu.tscn")
|
||||
get_tree().change_scene_to_file("res://levels/ui/tmenu.tscn")
|
|
@ -1,6 +1,6 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://brrta1s63r2q2"]
|
||||
|
||||
[ext_resource type="Script" path="res://levels/debug.gd" id="1_gm5qw"]
|
||||
[ext_resource type="Script" path="res://levels/ui/debug.gd" id="1_gm5qw"]
|
||||
[ext_resource type="VideoStream" path="res://backgounds/nebula_-_6044 (720p).ogv" id="2_l51wy"]
|
||||
[ext_resource type="Script" path="res://nebula.gd" id="3_0jyxj"]
|
||||
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="4_ogmre"]
|
50
levels/ui/gameplay.gd
Normal file
50
levels/ui/gameplay.gd
Normal file
|
@ -0,0 +1,50 @@
|
|||
extends Node2D
|
||||
var level
|
||||
var player
|
||||
var music
|
||||
var bgsound := AudioStreamPlayer.new()
|
||||
var musictrack
|
||||
var isboss
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
add_child(bgsound)
|
||||
if Global.debug:
|
||||
level = load(Global.places[Global.dplace[0]][Global.dplace[1]][Global.dplace[2]][0]).instantiate()
|
||||
player = load(Global.pchars[Global.dcpchar]).instantiate()
|
||||
musictrack = Global.musictracks[Global.places[Global.dplace[0]][Global.dplace[1]][Global.dplace[2]][3]]
|
||||
isboss = Global.places[Global.dplace[0]][Global.dplace[1]][Global.dplace[2]][4]
|
||||
else:
|
||||
level = load(Global.places[Global.cplace[0]][Global.cplace[1]][Global.cplace[2]][0]).instantiate()
|
||||
player = load(Global.pchars[Global.cpchar]).instantiate()
|
||||
musictrack = Global.musictracks[Global.places[Global.cplace[0]][Global.cplace[1]][Global.cplace[2]][3]]
|
||||
isboss = Global.places[Global.cplace[0]][Global.cplace[1]][Global.cplace[2]][4]
|
||||
if Global.cspawnarea[0] != null && Global.cspawnarea[0] != null:
|
||||
player.position.x = Global.cspawnarea[0]
|
||||
player.position.y = Global.cspawnarea[1]
|
||||
elif Global.debug:
|
||||
player.position.x = Global.places[Global.dplace[0]][Global.dplace[1]][Global.dplace[2]][1]
|
||||
player.position.y = Global.places[Global.dplace[0]][Global.dplace[1]][Global.dplace[2]][2]
|
||||
else:
|
||||
player.position.x = Global.places[Global.cplace[0]][Global.cplace[1]][Global.cplace[2]][1]
|
||||
player.position.y = Global.places[Global.cplace[0]][Global.cplace[1]][Global.cplace[2]][2]
|
||||
music = load(musictrack)
|
||||
get_tree().root.add_child.call_deferred(level)
|
||||
get_tree().root.add_child.call_deferred(player)
|
||||
bgsound.stream = music
|
||||
if !isboss:
|
||||
bgsound.play(0)
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
pass
|
||||
|
||||
func _input(event):
|
||||
if Input.is_key_pressed(KEY_ESCAPE) || Input.is_joy_button_pressed(0,JOY_BUTTON_BACK):
|
||||
get_tree().root.remove_child(player)
|
||||
get_tree().root.remove_child(level)
|
||||
if Global.debug:
|
||||
get_tree().change_scene_to_file("res://levels/ui/scene.tscn")
|
||||
else:
|
||||
get_tree().change_scene_to_file("res://title.tscn")
|
6
levels/ui/gameplay.tscn
Normal file
6
levels/ui/gameplay.tscn
Normal file
|
@ -0,0 +1,6 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://o4fdhf0tco2h"]
|
||||
|
||||
[ext_resource type="Script" path="res://levels/ui/gameplay.gd" id="1_swekd"]
|
||||
|
||||
[node name="Gameplay" type="Node2D"]
|
||||
script = ExtResource("1_swekd")
|
|
@ -48,7 +48,7 @@ func _input(event):
|
|||
|
||||
|
||||
func _on_back_pressed():
|
||||
get_tree().change_scene_to_file("res://levels/soundtest.tscn")
|
||||
get_tree().change_scene_to_file("res://levels/ui/soundtest.tscn")
|
||||
|
||||
|
||||
func _on_title_screen_pressed():
|
|
@ -1,6 +1,6 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://v2cnmd1atfw1"]
|
||||
|
||||
[ext_resource type="Script" path="res://levels/musictest.gd" id="1_mulrj"]
|
||||
[ext_resource type="Script" path="res://levels/ui/musictest.gd" id="1_mulrj"]
|
||||
[ext_resource type="VideoStream" path="res://backgounds/nebula_-_6044 (720p).ogv" id="2_hc5pw"]
|
||||
[ext_resource type="Script" path="res://nebula.gd" id="3_4oqoj"]
|
||||
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="4_a1ux8"]
|
|
@ -43,10 +43,10 @@ func _input(event):
|
|||
|
||||
|
||||
func _on_back_pressed():
|
||||
get_tree().change_scene_to_file("res://levels/debug.tscn")
|
||||
get_tree().change_scene_to_file("res://levels/ui/debug.tscn")
|
||||
|
||||
func _on_credits_pressed():
|
||||
get_tree().change_scene_to_file("res://levels/credits.tscn")
|
||||
get_tree().change_scene_to_file("res://levels/ui/credits.tscn")
|
||||
|
||||
|
||||
func _on_wip_pressed():
|
||||
|
@ -59,3 +59,7 @@ func _on_results_pressed():
|
|||
|
||||
func _on_disclaimer_pressed():
|
||||
get_tree().change_scene_to_file("res://backgounds/disclaimer.tscn")
|
||||
|
||||
|
||||
func _on_testrooms_pressed():
|
||||
get_tree().change_scene_to_file("res://levels/ui/testrooms.tscn")
|
|
@ -1,6 +1,6 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://duyxejhnys1l4"]
|
||||
|
||||
[ext_resource type="Script" path="res://levels/scene.gd" id="1_hxcrn"]
|
||||
[ext_resource type="Script" path="res://levels/ui/scene.gd" id="1_hxcrn"]
|
||||
[ext_resource type="VideoStream" path="res://backgounds/nebula_-_6044 (720p).ogv" id="2_nvftm"]
|
||||
[ext_resource type="Script" path="res://nebula.gd" id="3_6sds4"]
|
||||
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="4_2y7h7"]
|
||||
|
@ -57,6 +57,12 @@ theme_override_font_sizes/font_size = 32
|
|||
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs")
|
||||
text = "Disclaimer"
|
||||
|
||||
[node name="Testrooms" type="Button" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs")
|
||||
text = "Test Rooms"
|
||||
|
||||
[node name="Results" type="Button" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
|
@ -86,6 +92,7 @@ layout_mode = 1
|
|||
|
||||
[connection signal="finished" from="nebula" to="nebula" method="_on_finished"]
|
||||
[connection signal="pressed" from="VBoxContainer/Disclaimer" to="." method="_on_disclaimer_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/Testrooms" to="." method="_on_testrooms_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/Results" to="." method="_on_results_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/Credits" to="." method="_on_credits_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/WIP" to="." method="_on_wip_pressed"]
|
|
@ -48,5 +48,5 @@ func _input(event):
|
|||
|
||||
|
||||
func _on_back_pressed():
|
||||
get_tree().change_scene_to_file("res://levels/soundtest.tscn")
|
||||
get_tree().change_scene_to_file("res://levels/ui/soundtest.tscn")
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://cv2a37xetkkse"]
|
||||
|
||||
[ext_resource type="Script" path="res://levels/sfxtest.gd" id="1_l1lbb"]
|
||||
[ext_resource type="Script" path="res://levels/ui/sfxtest.gd" id="1_l1lbb"]
|
||||
[ext_resource type="VideoStream" path="res://backgounds/nebula_-_6044 (720p).ogv" id="2_c55jp"]
|
||||
[ext_resource type="Script" path="res://nebula.gd" id="3_yeu3h"]
|
||||
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="4_xxv3m"]
|
|
@ -28,13 +28,13 @@ func _input(event):
|
|||
|
||||
|
||||
func _on_back_pressed():
|
||||
get_tree().change_scene_to_file("res://levels/debug.tscn")
|
||||
get_tree().change_scene_to_file("res://levels/ui/tmenu.tscn")
|
||||
|
||||
|
||||
|
||||
func _on_music_pressed():
|
||||
get_tree().change_scene_to_file("res://levels/musictest.tscn")
|
||||
get_tree().change_scene_to_file("res://levels/ui/musictest.tscn")
|
||||
|
||||
|
||||
func _on_sfx_pressed():
|
||||
get_tree().change_scene_to_file("res://levels/sfxtest.tscn")
|
||||
get_tree().change_scene_to_file("res://levels/ui/sfxtest.tscn")
|
|
@ -1,6 +1,6 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://chg6qe1fijkh3"]
|
||||
|
||||
[ext_resource type="Script" path="res://levels/soundtest.gd" id="1_3bg6p"]
|
||||
[ext_resource type="Script" path="res://levels/ui/soundtest.gd" id="1_3bg6p"]
|
||||
[ext_resource type="VideoStream" path="res://backgounds/nebula_-_6044 (720p).ogv" id="2_abtft"]
|
||||
[ext_resource type="Script" path="res://nebula.gd" id="3_c33nl"]
|
||||
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="4_2a53a"]
|
|
@ -1,17 +1,17 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://cd8hd11usuhbu"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bb4sw2rhdbjbf" path="res://sprites/placeholder/face.png" id="1_3sqvt"]
|
||||
[ext_resource type="Texture2D" uid="uid://bb4sw2rhdbjbf" path="res://sprites/common/placeholder/face.png" id="1_4l8il"]
|
||||
|
||||
[node name="Talk" type="Node2D"]
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
[node name="Playerface" type="TextureRect" parent="."]
|
||||
offset_left = 511.0
|
||||
offset_top = 35.0
|
||||
offset_right = 767.0
|
||||
offset_bottom = 291.0
|
||||
texture = ExtResource("1_3sqvt")
|
||||
texture = ExtResource("1_4l8il")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
[node name="Textbox" type="ColorRect" parent="."]
|
||||
offset_left = 41.0
|
||||
offset_top = 319.0
|
||||
offset_right = 1243.0
|
||||
|
@ -22,8 +22,18 @@ color = Color(0.254902, 0.254902, 0.254902, 1)
|
|||
offset_left = 41.0
|
||||
offset_top = 319.0
|
||||
offset_right = 1243.0
|
||||
offset_bottom = 681.0
|
||||
offset_bottom = 412.0
|
||||
theme_override_font_sizes/font_size = 68
|
||||
text = "Your text goes here"
|
||||
text = "Character name goes here"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Dialog" type="Label" parent="."]
|
||||
offset_left = 41.0
|
||||
offset_top = 414.0
|
||||
offset_right = 1243.0
|
||||
offset_bottom = 681.0
|
||||
theme_override_font_sizes/font_size = 68
|
||||
text = "Your dialog goes here"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
56
levels/ui/testrooms.gd
Normal file
56
levels/ui/testrooms.gd
Normal file
|
@ -0,0 +1,56 @@
|
|||
extends Control
|
||||
func _ready():
|
||||
Input.set_mouse_mode(Input.MOUSE_MODE_HIDDEN)
|
||||
$"VBoxContainer/Testspawn".grab_focus()
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
pass
|
||||
|
||||
func _level():
|
||||
# This is like autoloading the scene, only
|
||||
# it happens after already loading the main scene.
|
||||
get_tree().change_scene_to_file("res://backgounds/disclaimer.tscn")
|
||||
#Global.live = 1
|
||||
#Global.gamelevel = randi() % 3
|
||||
#if Global.gamelevel == 0:
|
||||
# get_tree().change_scene_to_file("res://backgounds/galaxy.tscn")
|
||||
#elif Global.gamelevel == 1:
|
||||
# get_tree().change_scene_to_file("res://backgounds/wormhole.tscn")
|
||||
#else:
|
||||
# get_tree().change_scene_to_file("res://backgounds/abstract.tscn")
|
||||
#get_tree().root.add_child(title)
|
||||
#get_tree().root.remove_child(boot)
|
||||
#boot.queue_free()
|
||||
|
||||
func _input(event):
|
||||
# Mouse in viewport coordinates.
|
||||
if Input.is_action_just_pressed("ui_cancel"):
|
||||
_on_back_pressed()
|
||||
#print("Mouse Click/Unclick at: ", event.position)
|
||||
# if highlighted == 1:
|
||||
# _on_debug_pressed()
|
||||
# if highlighted == 2:
|
||||
# _on_exit_pressed()
|
||||
# else:
|
||||
# _on_start_pressed()
|
||||
# elif Input.is_action_pressed("ui_up"):
|
||||
# focus_next
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
func _on_back_pressed():
|
||||
get_tree().change_scene_to_file("res://levels/ui/scene.tscn")
|
||||
|
||||
|
||||
func _on_testspawn_pressed():
|
||||
Global.dplace = [0, 2, 1]
|
||||
get_tree().change_scene_to_file("res://levels/ui/gameplay.tscn")
|
||||
|
||||
|
||||
func _on_testboss_pressed():
|
||||
Global.dplace = [0, 1, 1]
|
||||
get_tree().change_scene_to_file("res://levels/ui/gameplay.tscn")
|
91
levels/ui/testrooms.tscn
Normal file
91
levels/ui/testrooms.tscn
Normal file
|
@ -0,0 +1,91 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://b0pgk6d871bor"]
|
||||
|
||||
[ext_resource type="Script" path="res://levels/ui/testrooms.gd" id="1_p5nnr"]
|
||||
[ext_resource type="VideoStream" path="res://backgounds/nebula_-_6044 (720p).ogv" id="2_wyg0k"]
|
||||
[ext_resource type="Script" path="res://nebula.gd" id="3_co5y6"]
|
||||
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="4_jvl8w"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6u0xs"]
|
||||
bg_color = Color(0, 0.8, 0, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_r2qrn"]
|
||||
bg_color = Color(0, 0.8, 0, 1)
|
||||
|
||||
[node name="Testrooms" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_p5nnr")
|
||||
|
||||
[node name="nebula" type="VideoStreamPlayer" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 640.0
|
||||
offset_bottom = 368.0
|
||||
scale = Vector2(2, 1.96)
|
||||
stream = ExtResource("2_wyg0k")
|
||||
autoplay = true
|
||||
script = ExtResource("3_co5y6")
|
||||
|
||||
[node name="Game name" type="Label" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 496.0
|
||||
offset_top = 3.0
|
||||
offset_right = 790.0
|
||||
offset_bottom = 73.0
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "Test Rooms"
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -129.5
|
||||
offset_top = -362.0
|
||||
offset_right = 129.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
|
||||
[node name="Testspawn" type="Button" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs")
|
||||
text = "Test Spawn"
|
||||
|
||||
[node name="Testboss" type="Button" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs")
|
||||
text = "Test Boss
|
||||
"
|
||||
|
||||
[node name="Credits" type="Button" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs")
|
||||
text = "Unused"
|
||||
|
||||
[node name="WIP" type="Button" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs")
|
||||
text = "Unused"
|
||||
|
||||
[node name="Back" type="Button" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_r2qrn")
|
||||
text = "Back"
|
||||
|
||||
[node name="Bottomhud" parent="." instance=ExtResource("4_jvl8w")]
|
||||
layout_mode = 1
|
||||
|
||||
[connection signal="finished" from="nebula" to="nebula" method="_on_finished"]
|
||||
[connection signal="pressed" from="VBoxContainer/Testspawn" to="." method="_on_testspawn_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/Testboss" to="." method="_on_testboss_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/Back" to="." method="_on_back_pressed"]
|
|
@ -43,7 +43,7 @@ func _on_start_pressed():
|
|||
|
||||
|
||||
func _on_debug_pressed():
|
||||
get_tree().change_scene_to_file("res://levels/debug.tscn")
|
||||
get_tree().change_scene_to_file("res://levels/ui/debug.tscn")
|
||||
|
||||
|
||||
func _on_exit_pressed():
|
|
@ -1,7 +1,7 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://s8ttuboef06k"]
|
||||
|
||||
[ext_resource type="VideoStream" path="res://backgounds/nebula_-_6044 (720p).ogv" id="1_33b4o"]
|
||||
[ext_resource type="Script" path="res://levels/tmenu.gd" id="1_w3aym"]
|
||||
[ext_resource type="Script" path="res://levels/ui/tmenu.gd" id="1_w3aym"]
|
||||
[ext_resource type="Script" path="res://nebula.gd" id="2_x35ws"]
|
||||
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="4_0qcfw"]
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue