From d3f6967fe666595cf0862be57a3dae3bb23afd24 Mon Sep 17 00:00:00 2001 From: IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> Date: Sun, 17 Jul 2022 03:40:41 +0200 Subject: asset for the goal trigger --- godot/scenes/Game.tscn | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'godot/scenes/Game.tscn') diff --git a/godot/scenes/Game.tscn b/godot/scenes/Game.tscn index 9891f4e..d4d287a 100644 --- a/godot/scenes/Game.tscn +++ b/godot/scenes/Game.tscn @@ -1,16 +1,16 @@ -[gd_scene load_steps=7 format=2] +[gd_scene load_steps=9 format=2] -[ext_resource path="res://scenes/Game.gd" type="Script" id=1] +[ext_resource path="res://scenes/Die.tscn" type="PackedScene" id=1] [ext_resource path="res://scenes/levels/test_scene_movement/TestSceneMovement.tscn" type="PackedScene" id=2] [ext_resource path="res://assets/theme.tres" type="Theme" id=3] [ext_resource path="res://assets/fonts/format.tres" type="DynamicFont" id=4] [ext_resource path="res://scenes/objects/Scoreboard.tscn" type="PackedScene" id=5] [ext_resource path="res://assets/sounds/bgm.mp3" type="AudioStream" id=6] +[ext_resource path="res://scenes/Game.gd" type="Script" id=7] +[ext_resource path="res://scenes/objects/GoalZone.tscn" type="PackedScene" id=8] [node name="Game" type="Spatial"] -script = ExtResource( 1 ) - -[node name="TestScene" parent="." instance=ExtResource( 2 )] +script = ExtResource( 7 ) [node name="PausePopup" type="Control" parent="."] pause_mode = 2 @@ -66,9 +66,19 @@ margin_bottom = 0.47998 [node name="Level1" type="Spatial" parent="."] +[node name="TestScene" parent="Level1" instance=ExtResource( 2 )] + +[node name="GoalZone" parent="Level1" instance=ExtResource( 8 )] +transform = Transform( 2.88272, 0, 0, 0, 2.00313, 0, 0, 0, 3.65044, 17.4844, 1.29056, -11.8885 ) + [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] stream = ExtResource( 6 ) autoplay = true +[node name="Level2" type="Spatial" parent="."] +visible = false + +[node name="Die" parent="Level2" instance=ExtResource( 1 )] + [connection signal="pressed" from="PausePopup/Panel/VBoxContainer/ResumeButton" to="." method="_on_ResumeButton_pressed"] [connection signal="pressed" from="PausePopup/Panel/VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"] -- cgit