From 373b0d66678a349d39146262d5b288b39c5cb1e1 Mon Sep 17 00:00:00 2001 From: IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> Date: Sat, 16 Jul 2022 23:32:01 +0200 Subject: goal zone the rest is trash --- godot/scenes/Game.tscn | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) (limited to 'godot/scenes/Game.tscn') diff --git a/godot/scenes/Game.tscn b/godot/scenes/Game.tscn index 6d09370..38a4ceb 100644 --- a/godot/scenes/Game.tscn +++ b/godot/scenes/Game.tscn @@ -3,35 +3,16 @@ [ext_resource path="res://native/Game.gdns" type="Script" id=1] [ext_resource path="res://scenes/levels/test_scene_uuuhhh/TestSceneUuuhhh.tscn" type="PackedScene" id=2] [ext_resource path="res://scripts/LevelLoader.gd" type="Script" id=3] -[ext_resource path="res://scripts/GoalTriggerBox.gd" type="Script" id=4] - -[sub_resource type="BoxShape" id=1] +[ext_resource path="res://scenes/levels/GoalTriggerZone.tscn" type="PackedScene" id=4] +[ext_resource path="res://scenes/objects/Player.tscn" type="PackedScene" id=5] [sub_resource type="CubeMesh" id=2] [sub_resource type="SphereMesh" id=3] -[gd_scene load_steps=3 format=2] - -[ext_resource path="res://native/Game.gdns" type="Script" id=1] -[ext_resource path="res://scenes/levels/test_scene_movement/TestSceneMovement.tscn" type="PackedScene" id=2] [node name="Game" type="Spatial"] script = ExtResource( 1 ) -[node name="Camera" type="Camera" parent="."] -transform = Transform( -0.538224, 0.336461, -0.772728, 0, 0.916856, 0.399217, 0.842802, 0.214868, -0.493474, -6.58972, 3.31005, -7.31211 ) -current = true -fov = 64.6875 - -[node name="TestSceneUuuhhh" parent="." instance=ExtResource( 2 )] - -[node name="Area2" type="Area" parent="."] -transform = Transform( 10, 0, 0, 0, 10, 0, 0, 0, 10, 20, 0, 0 ) -script = ExtResource( 4 ) - -[node name="CollisionShape" type="CollisionShape" parent="Area2"] -shape = SubResource( 1 ) - [node name="LevelLoader" type="Node" parent="."] script = ExtResource( 3 ) @@ -42,6 +23,8 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.99199, 0 ) mesh = SubResource( 2 ) material/0 = null +[node name="GoalTriggerZone" parent="Level1" instance=ExtResource( 4 )] + [node name="Level2" type="Spatial" parent="."] visible = false @@ -50,5 +33,8 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.99549, 0 ) mesh = SubResource( 3 ) material/0 = null -[connection signal="body_entered" from="Area2" to="Area2" method="_on_Area2_body_entered"] +[node name="PlayerRoot" parent="." instance=ExtResource( 5 )] +input/camera_mouse_sensitivity = Vector2( 0.005, 0.005 ) +input/shoot_sensitivity = 0.005 + [node name="TestScene" parent="." instance=ExtResource( 2 )] -- cgit