Compare commits
No commits in common. 'c2b67081fb55e4056e0f461413dced918619a21e' and '763ce182a40ce4bf96777bee037e4b1786f1b589' have entirely different histories.
c2b67081fb
...
763ce182a4
@ -1,19 +0,0 @@
|
|||||||
[gd_scene load_steps=4 format=3 uid="uid://cokjt1a3cdywh"]
|
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://scripts/World.gd" id="1_3g8ek"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://cnp8h65468543" path="res://scenes/overlays/crt_overlay.tscn" id="2_onw3m"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://duai0nkslx7o8" path="res://scenes/levels/level_1.tscn" id="2_xjpi1"]
|
|
||||||
|
|
||||||
[node name="World" type="Node2D"]
|
|
||||||
script = ExtResource("1_3g8ek")
|
|
||||||
|
|
||||||
[node name="Timer" type="Timer" parent="."]
|
|
||||||
one_shot = true
|
|
||||||
|
|
||||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
||||||
|
|
||||||
[node name="Level" parent="." instance=ExtResource("2_xjpi1")]
|
|
||||||
|
|
||||||
[node name="CRT_Overlay" parent="." instance=ExtResource("2_onw3m")]
|
|
||||||
|
|
||||||
[connection signal="timeout" from="Timer" to="." method="_on_timeout"]
|
|
||||||
@ -1,31 +0,0 @@
|
|||||||
extends CanvasLayer
|
|
||||||
var mainScene
|
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
|
||||||
func _ready():
|
|
||||||
#$CenterContainer/VBoxContainer/Button05.button_up.connect( _on_quit )
|
|
||||||
#$CenterContainer/VBoxContainer/Button01.button_up.connect( _on_play )
|
|
||||||
pass # Replace with function body.
|
|
||||||
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
func _process(delta):
|
|
||||||
pass
|
|
||||||
|
|
||||||
func _on_quit():
|
|
||||||
get_tree().quit()
|
|
||||||
|
|
||||||
func _on_play_lv0():
|
|
||||||
get_tree().change_scene_to_file( "res://scenes/main.tscn" )
|
|
||||||
func _on_play_lv1():
|
|
||||||
get_tree().change_scene_to_file( "res://scenes/main1.tscn" )
|
|
||||||
#$".".hide()
|
|
||||||
#var w = get_node("/root/World");
|
|
||||||
#
|
|
||||||
#if !w:
|
|
||||||
#get_tree().change_scene_to_file( "res://scenes/main.tscn" )
|
|
||||||
#else:
|
|
||||||
#w.load_level()
|
|
||||||
#w.player_spawn()
|
|
||||||
#w.show()
|
|
||||||
|
|
||||||
Loading…
Reference in new issue