Gameplay Rework (WIP)

This commit is contained in:
Page Asgardius 2023-12-02 13:49:44 -07:00
parent 9ca9d42dbf
commit c965c454f8
4 changed files with 3 additions and 48 deletions

View file

@ -1,21 +0,0 @@
extends TextureButton
# Called when the node enters the scene tree for the first time.
func _ready():
var button = Button.new()
button.text = "Home"
button.pressed.connect(self._button_pressed)
add_child(button)
func _button_pressed():
Global.live = 0
#_title()
func _title():
# This is like autoloading the scene, only
# it happens after already loading the main scene.
get_tree().change_scene_to_file("res://title.tscn")
#get_tree().root.add_child(title)
#get_tree().root.remove_child(boot)
#boot.queue_free()

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=22 format=3 uid="uid://b82huqhu88xt6"]
[gd_scene load_steps=21 format=3 uid="uid://b82huqhu88xt6"]
[ext_resource type="Script" path="res://levels/abstract.gd" id="1_id1o1"]
[ext_resource type="Script" path="res://levels/css1.gd" id="3_4xg6i"]
@ -17,7 +17,6 @@
[ext_resource type="Script" path="res://levels/wall3.gd" id="17_pl58r"]
[ext_resource type="Script" path="res://levels/wall4.gd" id="18_ptooy"]
[ext_resource type="Script" path="res://fps.gd" id="20_li4sv"]
[ext_resource type="Script" path="res://backgounds/Home.gd" id="21_ipbod"]
[ext_resource type="Script" path="res://levels/timelimit.gd" id="21_tw1es"]
[sub_resource type="Gradient" id="Gradient_3wb6i"]
@ -165,10 +164,3 @@ offset_left = 204.0
offset_right = 244.0
offset_bottom = 23.0
script = ExtResource("21_tw1es")
[node name="Home" type="TextureButton" parent="."]
offset_left = 52.0
offset_top = 39.0
offset_right = 125.0
offset_bottom = 110.0
script = ExtResource("21_ipbod")

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=25 format=3 uid="uid://mtl88mcwaqk0"]
[gd_scene load_steps=24 format=3 uid="uid://mtl88mcwaqk0"]
[ext_resource type="Script" path="res://levels/galaxy.gd" id="1_3c4wu"]
[ext_resource type="Texture2D" uid="uid://8lioamk650y7" path="res://sprites/css.png" id="2_3g4h6"]
@ -21,7 +21,6 @@
[ext_resource type="Script" path="res://levels/wall4.gd" id="18_fasi1"]
[ext_resource type="Script" path="res://fps.gd" id="20_wbfof"]
[ext_resource type="Script" path="res://levels/timelimit.gd" id="21_4jblw"]
[ext_resource type="Script" path="res://backgounds/Home.gd" id="21_c1w3x"]
[sub_resource type="Gradient" id="Gradient_raqpb"]
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1)
@ -186,10 +185,3 @@ offset_left = 204.0
offset_right = 244.0
offset_bottom = 23.0
script = ExtResource("21_4jblw")
[node name="Home" type="TextureButton" parent="."]
offset_left = 52.0
offset_top = 39.0
offset_right = 125.0
offset_bottom = 110.0
script = ExtResource("21_c1w3x")

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=25 format=3 uid="uid://b82huqhu88xt6"]
[gd_scene load_steps=24 format=3 uid="uid://b82huqhu88xt6"]
[ext_resource type="Script" path="res://levels/wormhole.gd" id="1_n4a5i"]
[ext_resource type="Texture2D" uid="uid://8lioamk650y7" path="res://sprites/css.png" id="2_y6cio"]
@ -20,7 +20,6 @@
[ext_resource type="Script" path="res://levels/wall3.gd" id="17_pl58r"]
[ext_resource type="Script" path="res://levels/wall4.gd" id="18_ptooy"]
[ext_resource type="Script" path="res://fps.gd" id="20_li4sv"]
[ext_resource type="Script" path="res://backgounds/Home.gd" id="21_ipbod"]
[ext_resource type="Script" path="res://levels/timelimit.gd" id="21_tw1es"]
[sub_resource type="Gradient" id="Gradient_3wb6i"]
@ -186,10 +185,3 @@ offset_left = 204.0
offset_right = 244.0
offset_bottom = 23.0
script = ExtResource("21_tw1es")
[node name="Home" type="TextureButton" parent="."]
offset_left = 52.0
offset_top = 39.0
offset_right = 125.0
offset_bottom = 110.0
script = ExtResource("21_ipbod")