lots of features
This commit is contained in:
@@ -1,20 +1,31 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://ocor7udqvoec"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://ocor7udqvoec"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bi7j4afsxghrj" path="res://Scenes/Player.tscn" id="1_my8b5"]
|
||||
[ext_resource type="PackedScene" uid="uid://cc5emorildoar" path="res://Scenes/Gun.tscn" id="2_mhg71"]
|
||||
[ext_resource type="Script" path="res://Scripts/Level1.cs" id="1_gvb28"]
|
||||
[ext_resource type="PackedScene" uid="uid://b03tplah8y1do" path="res://Scenes/target.tscn" id="3_civmh"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_gyf0l"]
|
||||
size = Vector3(20, 0.5, 20)
|
||||
size = Vector3(10, 0.5, 20)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_78bnu"]
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_vca8v"]
|
||||
albedo_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_v2sg1"]
|
||||
material = SubResource("StandardMaterial3D_78bnu")
|
||||
size = Vector3(20, 0.5, 20)
|
||||
material = SubResource("StandardMaterial3D_vca8v")
|
||||
size = Vector3(10, 0.5, 20)
|
||||
|
||||
[node name="Level" type="Node3D"]
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_ql8hs"]
|
||||
size = Vector3(10, 5, 1)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_po5cl"]
|
||||
albedo_color = Color(0.219608, 1, 1, 1)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_6wms0"]
|
||||
material = SubResource("StandardMaterial3D_po5cl")
|
||||
size = Vector3(10, 5, 1)
|
||||
|
||||
[node name="Level" type="Node3D" node_paths=PackedStringArray("_spawnPoint")]
|
||||
script = ExtResource("1_gvb28")
|
||||
_spawnPoint = NodePath("Spawn Point")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||
collision_mask = 0
|
||||
@@ -26,13 +37,24 @@ shape = SubResource("BoxShape3D_gyf0l")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.189965, 0)
|
||||
mesh = SubResource("BoxMesh_v2sg1")
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("1_my8b5")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.269294, 0)
|
||||
|
||||
[node name="Gun" parent="Player" instance=ExtResource("2_mhg71")]
|
||||
transform = Transform3D(0.979575, 0, 0.201078, 0, 1, 0, -0.201078, 0, 0.979575, 0.074702, 1.59908, -0.498807)
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(-0.0510635, -0.435165, -0.898901, 0, -0.900076, 0.435734, -0.998695, 0.0222501, 0.045961, -5.60126, 7.19548, 0)
|
||||
|
||||
[node name="Target" parent="." instance=ExtResource("3_civmh")]
|
||||
|
||||
[node name="Area3D" type="Area3D" parent="."]
|
||||
collision_layer = 0
|
||||
collision_mask = 4
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.54778, -7.99117)
|
||||
shape = SubResource("BoxShape3D_ql8hs")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="Area3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0.000349066, 0, -0.000349066, 1, 0, 2.52005, -7.98064)
|
||||
mesh = SubResource("BoxMesh_6wms0")
|
||||
|
||||
[node name="Spawn Point" type="Marker3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.712399, 7.37212)
|
||||
|
||||
[connection signal="body_entered" from="Area3D" to="." method="OnCollisionWithLevelLoader"]
|
||||
|
||||
Reference in New Issue
Block a user