From 48d4f9de2536be2617aec3d58697a0db061d038c Mon Sep 17 00:00:00 2001 From: IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> Date: Sun, 17 Jul 2022 16:07:47 +0200 Subject: level loading is supported now --- godot/scenes/levels/level1/level1.tscn | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'godot/scenes/levels/level1') diff --git a/godot/scenes/levels/level1/level1.tscn b/godot/scenes/levels/level1/level1.tscn index 793b2c0..1f5f575 100644 --- a/godot/scenes/levels/level1/level1.tscn +++ b/godot/scenes/levels/level1/level1.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=31 format=2] +[gd_scene load_steps=30 format=2] [ext_resource path="res://assets/game_objects/level1_BG_model.glb" type="PackedScene" id=1] [ext_resource path="res://assets/game_objects/level1_track_model.glb" type="PackedScene" id=2] @@ -6,8 +6,7 @@ [ext_resource path="res://assets/game_objects/taxi.glb" type="PackedScene" id=4] [ext_resource path="res://assets/game_objects/beamTurret.glb" type="PackedScene" id=5] [ext_resource path="res://assets/game_objects/window(Clone).material" type="Material" id=6] -[ext_resource path="res://scenes/Die.tscn" type="PackedScene" id=7] -[ext_resource path="res://scenes/objects/GoalZone.tscn" type="PackedScene" id=8] +[ext_resource path="res://scenes/levels/GoalTriggerZone.tscn" type="PackedScene" id=7] [ext_resource path="res://scenes/objects/GroundCollision.tscn" type="PackedScene" id=9] [sub_resource type="ConcavePolygonShape" id=4] @@ -72,11 +71,8 @@ points = PoolVector3Array( -0.71742, 0.11773, -0.254227, -0.388641, 0.201786, -0 [node name="Spatial" type="Spatial"] -[node name="Die" parent="." instance=ExtResource( 7 )] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -47.8823, -0.0948428 ) - [node name="Spatial" type="Spatial" parent="."] -transform = Transform( 20, 0, 0, 0, 20, 0, 0, 0, 20, 0, 0.505757, 0 ) +transform = Transform( 20, 0, 0, 0, 20, 0, 0, 0, 20, 0, 34.0146, 0 ) [node name="StaticBody level" type="StaticBody" parent="Spatial"] @@ -166,12 +162,12 @@ shape = SubResource( 19 ) transform = Transform( -1.222, 0, -2.22395e-06, 0, 30, 0, 2.22395e-06, 0, -1.222, -0.0397539, -6.27184, -6.92309 ) shape = SubResource( 20 ) -[node name="GoalZone" parent="Spatial/StaticBody level" instance=ExtResource( 8 )] -transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, -0.000546885, -2.79064, -7.17821 ) - [node name="GroundCollision" parent="Spatial/StaticBody level" instance=ExtResource( 9 )] transform = Transform( 6.07612, 0, 0, 0, 1, 0, 0, 0, 23.102, -0.012512, -2.87122, -3.3987 ) +[node name="GoalTriggerZone" parent="Spatial/StaticBody level" instance=ExtResource( 7 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.10626e-05, -2.92359, -7.17016 ) + [node name="StaticBody turret" type="StaticBody" parent="Spatial"] transform = Transform( 0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, 0.707107, -0.0730354, -2.66775, -2.27479 ) -- cgit