Load level
This commit is contained in:
@@ -1,17 +1,45 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dqv03pua4j8ga"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://dqv03pua4j8ga"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Level1.cs" id="1_owv8t"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0lv8ovqkl3a6" path="res://Levels/Models/STAGE 1.blend" id="1_pwpof"]
|
||||
[ext_resource type="PackedScene" uid="uid://b38hcomu4tpm5" path="res://Scenes/TestCharacter.tscn" id="3_vd8bl"]
|
||||
[ext_resource type="PackedScene" uid="uid://si4byubqnng4" path="res://Scenes/TestBullet.tscn" id="4_usx8k"]
|
||||
[ext_resource type="PackedScene" uid="uid://bq40xbqibrk1y" path="res://Scenes/ShotgunBullet.tscn" id="5_yyoa6"]
|
||||
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="6_gegi6"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_kv6vl"]
|
||||
radius = 0.957319
|
||||
|
||||
[node name="Level1" type="Node3D"]
|
||||
script = ExtResource("1_owv8t")
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.496974, 0.867765, 0, -0.867765, 0.496974, -0.378925, 11.1744, 5.15227)
|
||||
transform = Transform3D(1, 0, 0, 0, 0.496974, 0.867765, 0, -0.867765, 0.496974, -0.378925, 21.2932, 13.0512)
|
||||
projection = 1
|
||||
fov = 30.0
|
||||
size = 8.0
|
||||
size = 9.0
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(-0.931845, -0.0850834, 0.35274, -0.0909281, 0.995857, 1.46654e-08, -0.351279, -0.032074, -0.935721, -3.58319, 22.5795, 0.163277)
|
||||
visible = false
|
||||
transform = Transform3D(-0.929007, 0.136193, 0.34409, 0.369825, 0.375014, 0.850056, -0.0132668, 0.91696, -0.398758, -3.58319, 11.9025, 0.163277)
|
||||
|
||||
[node name="STAGE 1" parent="." instance=ExtResource("1_pwpof")]
|
||||
|
||||
[node name="Character" parent="." instance=ExtResource("3_vd8bl")]
|
||||
transform = Transform3D(0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, -0.495054, 0, 5.4546)
|
||||
collision_layer = 17
|
||||
collision_mask = 17
|
||||
_fireProjectile = ExtResource("4_usx8k")
|
||||
_altFireProjectile = ExtResource("5_yyoa6")
|
||||
|
||||
[node name="Area3D2" type="Area3D" parent="." groups=["Level"]]
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
[node name="Exit Portal" parent="Area3D2" instance=ExtResource("6_gegi6")]
|
||||
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, -2.53252)
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.51823)
|
||||
shape = SubResource("CylinderShape3D_kv6vl")
|
||||
|
||||
[connection signal="body_entered" from="Area3D2" to="." method="OnExitEntered"]
|
||||
|
||||
Reference in New Issue
Block a user