Fix issues

This commit is contained in:
2023-09-04 01:33:30 -07:00
parent 8eeca13607
commit 3738f24705
34 changed files with 306 additions and 159 deletions

View File

@@ -1,4 +1,4 @@
<Project Sdk="Godot.NET.Sdk/4.1.1"> <Project Sdk="Godot.NET.Sdk/4.0.4">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading> <EnableDynamicLoading>true</EnableDynamicLoading>

10
GameJam2023.csproj.old Normal file
View File

@@ -0,0 +1,10 @@
<Project Sdk="Godot.NET.Sdk/4.1.1">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
</PropertyGroup>
<ItemGroup>
<Folder Include="Scenes\" />
<Folder Include="Textures\Models\" />
</ItemGroup>
</Project>

10
GameJam2023.csproj.old.1 Normal file
View File

@@ -0,0 +1,10 @@
<Project Sdk="Godot.NET.Sdk/4.0.4">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
</PropertyGroup>
<ItemGroup>
<Folder Include="Scenes\" />
<Folder Include="Textures\Models\" />
</ItemGroup>
</Project>

10
GameJam2023.csproj.old.2 Normal file
View File

@@ -0,0 +1,10 @@
<Project Sdk="Godot.NET.Sdk/4.1.1">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
</PropertyGroup>
<ItemGroup>
<Folder Include="Scenes\" />
<Folder Include="Textures\Models\" />
</ItemGroup>
</Project>

View File

@@ -1,7 +1,7 @@
[gd_scene load_steps=7 format=3 uid="uid://b38hcomu4tpm5"] [gd_scene load_steps=7 format=3 uid="uid://b38hcomu4tpm5"]
[ext_resource type="Script" path="res://Scripts/Player1.cs" id="1_6cdju"] [ext_resource type="Script" path="res://Scripts/Player1.cs" id="1_6cdju"]
[ext_resource type="PackedScene" uid="uid://si4byubqnng4" path="res://Scenes/Weapons/SingleShot.tscn" id="2_xt4q8"] [ext_resource type="PackedScene" uid="uid://cyn2wn6ffsnu7" path="res://Scenes/Weapons/Single.tscn" id="2_1c3c8"]
[ext_resource type="PackedScene" uid="uid://bq40xbqibrk1y" path="res://Scenes/Weapons/ShotgunBullet.tscn" id="3_4eh4a"] [ext_resource type="PackedScene" uid="uid://bq40xbqibrk1y" path="res://Scenes/Weapons/ShotgunBullet.tscn" id="3_4eh4a"]
[ext_resource type="PackedScene" uid="uid://yosw0j58nvrf" path="res://Models/Characters/fwitch.gltf" id="4_mtwuo"] [ext_resource type="PackedScene" uid="uid://yosw0j58nvrf" path="res://Models/Characters/fwitch.gltf" id="4_mtwuo"]
@@ -16,7 +16,8 @@ height = 1.67894
[node name="Pisces" type="CharacterBody3D" groups=["Player"]] [node name="Pisces" type="CharacterBody3D" groups=["Player"]]
transform = Transform3D(0.33, 0, 0, 0, 0.33, 0, 0, 0, 0.33, 0, 0, 0) transform = Transform3D(0.33, 0, 0, 0, 0.33, 0, 0, 0, 0.33, 0, 0, 0)
script = ExtResource("1_6cdju") script = ExtResource("1_6cdju")
_fireProjectile = ExtResource("2_xt4q8") _speed = 3.0
_fireProjectile = ExtResource("2_1c3c8")
_altFireProjectile = ExtResource("3_4eh4a") _altFireProjectile = ExtResource("3_4eh4a")
[node name="Pivot" type="Node3D" parent="."] [node name="Pivot" type="Node3D" parent="."]

View File

@@ -1,6 +1,7 @@
[gd_scene load_steps=5 format=3 uid="uid://jgf7k1r35km1"] [gd_scene load_steps=7 format=3 uid="uid://jgf7k1r35km1"]
[ext_resource type="PackedScene" uid="uid://0tegxun85rq" path="res://Textures/Models/exitprotal.gltf" id="1_jebs8"] [ext_resource type="PackedScene" uid="uid://0tegxun85rq" path="res://Textures/Models/exitprotal.gltf" id="1_jebs8"]
[ext_resource type="Script" path="res://Scripts/AreaExit.cs" id="2_4y188"]
[sub_resource type="Animation" id="Animation_t7yyb"] [sub_resource type="Animation" id="Animation_t7yyb"]
length = 0.001 length = 0.001
@@ -87,11 +88,24 @@ _data = {
"Spin": SubResource("Animation_y78yk") "Spin": SubResource("Animation_y78yk")
} }
[sub_resource type="CylinderShape3D" id="CylinderShape3D_v7qe0"]
height = 3.34825
radius = 1.79103
[node name="Exit Portal" instance=ExtResource("1_jebs8")] [node name="Exit Portal" instance=ExtResource("1_jebs8")]
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, 0) transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, 0)
script = ExtResource("2_4y188")
[node name="AnimationPlayer" type="AnimationPlayer" parent="." index="3"] [node name="AnimationPlayer" type="AnimationPlayer" parent="." index="3"]
autoplay = "Spin" autoplay = "Spin"
libraries = { libraries = {
"": SubResource("AnimationLibrary_fkf2e") "": SubResource("AnimationLibrary_fkf2e")
} }
[node name="Area3D" type="Area3D" parent="." index="4"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D" index="0"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.11619)
shape = SubResource("CylinderShape3D_v7qe0")
[connection signal="body_entered" from="Area3D" to="." method="OnExitEntered"]

View File

@@ -1,9 +1,10 @@
[gd_scene load_steps=7 format=3 uid="uid://dqv03pua4j8ga"] [gd_scene load_steps=8 format=3 uid="uid://dqv03pua4j8ga"]
[ext_resource type="Script" path="res://Scripts/AreaExit.cs" id="1_owv8t"] [ext_resource type="Script" path="res://Scripts/AreaExit.cs" id="1_owv8t"]
[ext_resource type="PackedScene" uid="uid://dg3k3cvfyaqx1" path="res://Levels/Final Levels/STAGE 1.gltf" id="5_7416y"] [ext_resource type="PackedScene" uid="uid://dg3k3cvfyaqx1" path="res://Levels/Final Levels/STAGE 1.gltf" id="5_7416y"]
[ext_resource type="PackedScene" uid="uid://bt5rolsyjmx55" path="res://Scenes/MeleeEnemyOrb.tscn" id="5_dqbra"] [ext_resource type="PackedScene" uid="uid://bt5rolsyjmx55" path="res://Scenes/MeleeEnemyOrb.tscn" id="5_dqbra"]
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="6_gegi6"] [ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="6_gegi6"]
[ext_resource type="PackedScene" uid="uid://dahp73fwld24h" path="res://Scenes/RangedEnemy.tscn" id="6_jck5a"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="9_8v1uu"] [ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="9_8v1uu"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_kv6vl"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_kv6vl"]
@@ -36,4 +37,10 @@ script = ExtResource("9_8v1uu")
[node name="STAGE 1" parent="." instance=ExtResource("5_7416y")] [node name="STAGE 1" parent="." instance=ExtResource("5_7416y")]
[node name="Node3D" parent="." instance=ExtResource("6_jck5a")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 0)
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.20212, 7.07432)
[connection signal="body_entered" from="Area3D2" to="." method="OnExitEntered"] [connection signal="body_entered" from="Area3D2" to="." method="OnExitEntered"]

View File

@@ -1,6 +1,5 @@
[gd_scene load_steps=6 format=3 uid="uid://basequfmpg04f"] [gd_scene load_steps=5 format=3 uid="uid://basequfmpg04f"]
[ext_resource type="Script" path="res://Scripts/AreaExit.cs" id="1_u04pt"]
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="2_sq8bv"] [ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="2_sq8bv"]
[ext_resource type="PackedScene" uid="uid://cv33g1wyltecc" path="res://Levels/Final Levels/STAGE 2.gltf" id="4_kiw1e"] [ext_resource type="PackedScene" uid="uid://cv33g1wyltecc" path="res://Levels/Final Levels/STAGE 2.gltf" id="4_kiw1e"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="5_dg8k3"] [ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="5_dg8k3"]
@@ -9,8 +8,6 @@
radius = 0.957319 radius = 0.957319
[node name="Level2" type="Node3D" groups=["Level"]] [node name="Level2" type="Node3D" groups=["Level"]]
script = ExtResource("1_u04pt")
_levelIndex = 1
[node name="Area3D2" type="Area3D" parent="." groups=["Level"]] [node name="Area3D2" type="Area3D" parent="." groups=["Level"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.43759, 0, -2.42354) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.43759, 0, -2.42354)
@@ -19,6 +16,7 @@ collision_mask = 16
[node name="Exit Portal" parent="Area3D2" instance=ExtResource("2_sq8bv")] [node name="Exit Portal" parent="Area3D2" instance=ExtResource("2_sq8bv")]
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, -2.53252) transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, -2.53252)
_levelIndex = 1
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.51823) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.51823)

View File

@@ -1,17 +1,13 @@
[gd_scene load_steps=7 format=3 uid="uid://btl5fdyjewnwc"] [gd_scene load_steps=5 format=3 uid="uid://btl5fdyjewnwc"]
[ext_resource type="Script" path="res://Scripts/AreaExit.cs" id="1_1tnw5"]
[ext_resource type="PackedScene" uid="uid://dwd2hlxhkcfpp" path="res://Levels/Models/STAGE 3.blend" id="1_blsh8"] [ext_resource type="PackedScene" uid="uid://dwd2hlxhkcfpp" path="res://Levels/Models/STAGE 3.blend" id="1_blsh8"]
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="3_2t766"] [ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="3_2t766"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="4_t5mi5"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="5_kc2wt"] [ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="5_kc2wt"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_j26hn"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_j26hn"]
radius = 0.957319 radius = 0.957319
[node name="Level3" type="Node3D" groups=["Level"]] [node name="Level3" type="Node3D" groups=["Level"]]
script = ExtResource("1_1tnw5")
_levelIndex = 2
[node name="STAGE 3" parent="." instance=ExtResource("1_blsh8")] [node name="STAGE 3" parent="." instance=ExtResource("1_blsh8")]
@@ -22,6 +18,7 @@ collision_mask = 16
[node name="Exit Portal" parent="Area3D2" instance=ExtResource("3_2t766")] [node name="Exit Portal" parent="Area3D2" instance=ExtResource("3_2t766")]
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, -2.53252) transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, -2.53252)
_levelIndex = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.51823) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.51823)
@@ -29,7 +26,7 @@ shape = SubResource("CylinderShape3D_j26hn")
[node name="P1_SpawnPoint" type="Marker3D" parent="."] [node name="P1_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.503964, 0.123258, 5.51333) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.503964, 0.123258, 5.51333)
script = ExtResource("4_t5mi5") script = ExtResource("5_kc2wt")
[node name="P2_SpawnPoint" type="Marker3D" parent="."] [node name="P2_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.3999, 0.123258, 5.51333) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.3999, 0.123258, 5.51333)

View File

@@ -1,17 +1,13 @@
[gd_scene load_steps=7 format=3 uid="uid://ctvkevnc0wxka"] [gd_scene load_steps=5 format=3 uid="uid://ctvkevnc0wxka"]
[ext_resource type="PackedScene" uid="uid://c33ymduovqqw" path="res://Levels/Models/STAGE 4.blend" id="1_qu6ym"] [ext_resource type="PackedScene" uid="uid://c33ymduovqqw" path="res://Levels/Models/STAGE 4.blend" id="1_qu6ym"]
[ext_resource type="Script" path="res://Scripts/AreaExit.cs" id="1_sqfsi"]
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="3_wflo5"] [ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="3_wflo5"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="4_hoql1"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="5_tx78o"] [ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="5_tx78o"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_8lqmd"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_8lqmd"]
radius = 0.957319 radius = 0.957319
[node name="Level4" type="Node3D" groups=["Level"]] [node name="Level4" type="Node3D" groups=["Level"]]
script = ExtResource("1_sqfsi")
_levelIndex = 3
[node name="STAGE 4" parent="." instance=ExtResource("1_qu6ym")] [node name="STAGE 4" parent="." instance=ExtResource("1_qu6ym")]
@@ -22,6 +18,7 @@ collision_mask = 16
[node name="Exit Portal" parent="Area3D2" instance=ExtResource("3_wflo5")] [node name="Exit Portal" parent="Area3D2" instance=ExtResource("3_wflo5")]
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, -2.53252) transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, -2.53252)
_levelIndex = 3
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.51823) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.51823)
@@ -29,7 +26,7 @@ shape = SubResource("CylinderShape3D_8lqmd")
[node name="P1_SpawnPoint" type="Marker3D" parent="."] [node name="P1_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.503964, 0.123258, 5.51333) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.503964, 0.123258, 5.51333)
script = ExtResource("4_hoql1") script = ExtResource("5_tx78o")
[node name="P2_SpawnPoint" type="Marker3D" parent="."] [node name="P2_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.65542, 0.123258, 5.51333) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.65542, 0.123258, 5.51333)

View File

@@ -1,17 +1,13 @@
[gd_scene load_steps=7 format=3 uid="uid://col60npvg7wr1"] [gd_scene load_steps=5 format=3 uid="uid://col60npvg7wr1"]
[ext_resource type="PackedScene" uid="uid://cthfld06b4dng" path="res://Levels/Models/STAGE 5.blend" id="1_fagdb"] [ext_resource type="PackedScene" uid="uid://cthfld06b4dng" path="res://Levels/Models/STAGE 5.blend" id="1_fagdb"]
[ext_resource type="Script" path="res://Scripts/AreaExit.cs" id="1_qbafj"]
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="3_ehcts"] [ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="3_ehcts"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="4_a5c54"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="5_2mfmm"] [ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="5_2mfmm"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_a8pxa"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_a8pxa"]
radius = 0.957319 radius = 0.957319
[node name="Level5" type="Node3D" groups=["Level"]] [node name="Level5" type="Node3D" groups=["Level"]]
script = ExtResource("1_qbafj")
_levelIndex = 4
[node name="STAGE 5" parent="." instance=ExtResource("1_fagdb")] [node name="STAGE 5" parent="." instance=ExtResource("1_fagdb")]
@@ -22,6 +18,7 @@ collision_mask = 16
[node name="Exit Portal" parent="Area3D2" instance=ExtResource("3_ehcts")] [node name="Exit Portal" parent="Area3D2" instance=ExtResource("3_ehcts")]
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, -2.53252) transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, -2.53252)
_levelIndex = 4
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.51823) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.51823)
@@ -29,7 +26,7 @@ shape = SubResource("CylinderShape3D_a8pxa")
[node name="P1_SpawnPoint" type="Marker3D" parent="."] [node name="P1_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.503964, 0.123258, 5.51333) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.503964, 0.123258, 5.51333)
script = ExtResource("4_a5c54") script = ExtResource("5_2mfmm")
[node name="P2_SpawnPoint" type="Marker3D" parent="."] [node name="P2_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.16798, 0.123258, 5.51333) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.16798, 0.123258, 5.51333)

View File

@@ -1,17 +1,13 @@
[gd_scene load_steps=7 format=3 uid="uid://8ukphol1isp2"] [gd_scene load_steps=5 format=3 uid="uid://8ukphol1isp2"]
[ext_resource type="PackedScene" uid="uid://bc3wjl3ibs5q7" path="res://Levels/Models/STAGE 6.blend" id="1_q1cka"] [ext_resource type="PackedScene" uid="uid://bc3wjl3ibs5q7" path="res://Levels/Models/STAGE 6.blend" id="1_q1cka"]
[ext_resource type="Script" path="res://Scripts/AreaExit.cs" id="1_qlv44"]
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="3_0wdh0"] [ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="3_0wdh0"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="4_awoco"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="5_tba4e"] [ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="5_tba4e"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wu0in"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_wu0in"]
radius = 0.957319 radius = 0.957319
[node name="Level6" type="Node3D" groups=["Level"]] [node name="Level6" type="Node3D" groups=["Level"]]
script = ExtResource("1_qlv44")
_levelIndex = 5
[node name="STAGE 6" parent="." instance=ExtResource("1_q1cka")] [node name="STAGE 6" parent="." instance=ExtResource("1_q1cka")]
@@ -22,6 +18,7 @@ collision_mask = 16
[node name="Exit Portal" parent="Area3D2" instance=ExtResource("3_0wdh0")] [node name="Exit Portal" parent="Area3D2" instance=ExtResource("3_0wdh0")]
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, -2.53252) transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, -2.53252)
_levelIndex = 5
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.51823) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.51823)
@@ -29,7 +26,7 @@ shape = SubResource("CylinderShape3D_wu0in")
[node name="P1_SpawnPoint" type="Marker3D" parent="."] [node name="P1_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.503964, 0.123258, 5.51333) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.503964, 0.123258, 5.51333)
script = ExtResource("4_awoco") script = ExtResource("5_tba4e")
[node name="P2_SpawnPoint" type="Marker3D" parent="."] [node name="P2_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.10805, 0.123258, 5.51333) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.10805, 0.123258, 5.51333)

View File

@@ -1,17 +1,13 @@
[gd_scene load_steps=7 format=3 uid="uid://bsq7edeueqyjg"] [gd_scene load_steps=5 format=3 uid="uid://bsq7edeueqyjg"]
[ext_resource type="PackedScene" uid="uid://biurk21cl5wxw" path="res://Levels/Models/STAGE 7.blend" id="1_dc67b"] [ext_resource type="PackedScene" uid="uid://biurk21cl5wxw" path="res://Levels/Models/STAGE 7.blend" id="1_dc67b"]
[ext_resource type="Script" path="res://Scripts/AreaExit.cs" id="1_fio4n"]
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="3_sjnhq"] [ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="3_sjnhq"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="4_kxyoc"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="5_5gfi0"] [ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="5_5gfi0"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_a56hv"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_a56hv"]
radius = 0.957319 radius = 0.957319
[node name="Level7" type="Node3D" groups=["Level"]] [node name="Level7" type="Node3D" groups=["Level"]]
script = ExtResource("1_fio4n")
_levelIndex = 6
[node name="STAGE 7" parent="." instance=ExtResource("1_dc67b")] [node name="STAGE 7" parent="." instance=ExtResource("1_dc67b")]
@@ -22,6 +18,7 @@ collision_mask = 16
[node name="Exit Portal" parent="Area3D2" instance=ExtResource("3_sjnhq")] [node name="Exit Portal" parent="Area3D2" instance=ExtResource("3_sjnhq")]
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, -2.53252) transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, -2.53252)
_levelIndex = 6
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.51823) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.51823)
@@ -29,7 +26,7 @@ shape = SubResource("CylinderShape3D_a56hv")
[node name="P1_SpawnPoint" type="Marker3D" parent="."] [node name="P1_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.503964, 0.123258, 5.51333) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.503964, 0.123258, 5.51333)
script = ExtResource("4_kxyoc") script = ExtResource("5_5gfi0")
[node name="P2_SpawnPoint" type="Marker3D" parent="."] [node name="P2_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.6401, 0.123258, 5.51333) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.6401, 0.123258, 5.51333)

View File

@@ -1,17 +1,13 @@
[gd_scene load_steps=7 format=3 uid="uid://c4xcka4ekuur8"] [gd_scene load_steps=5 format=3 uid="uid://c4xcka4ekuur8"]
[ext_resource type="Script" path="res://Scripts/AreaExit.cs" id="1_mo03n"]
[ext_resource type="PackedScene" uid="uid://dibismvgu8151" path="res://Levels/Models/STAGE 8.blend" id="1_wd00s"] [ext_resource type="PackedScene" uid="uid://dibismvgu8151" path="res://Levels/Models/STAGE 8.blend" id="1_wd00s"]
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="3_44edv"] [ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="3_44edv"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="4_rdu0b"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="5_76jfi"] [ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="5_76jfi"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_3ne7n"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_3ne7n"]
radius = 0.957319 radius = 0.957319
[node name="Level8" type="Node3D" groups=["Level"]] [node name="Level8" type="Node3D" groups=["Level"]]
script = ExtResource("1_mo03n")
_levelIndex = 7
[node name="STAGE 8" parent="." instance=ExtResource("1_wd00s")] [node name="STAGE 8" parent="." instance=ExtResource("1_wd00s")]
@@ -22,6 +18,7 @@ collision_mask = 16
[node name="Exit Portal" parent="Area3D2" instance=ExtResource("3_44edv")] [node name="Exit Portal" parent="Area3D2" instance=ExtResource("3_44edv")]
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, -2.53252) transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, -2.53252)
_levelIndex = 7
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.51823) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.51823)
@@ -29,7 +26,7 @@ shape = SubResource("CylinderShape3D_3ne7n")
[node name="P1_SpawnPoint" type="Marker3D" parent="."] [node name="P1_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.503964, 0.123258, 5.51333) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.503964, 0.123258, 5.51333)
script = ExtResource("4_rdu0b") script = ExtResource("5_76jfi")
[node name="P2_SpawnPoint" type="Marker3D" parent="."] [node name="P2_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.60971, 0.123258, 5.51333) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.60971, 0.123258, 5.51333)

View File

@@ -1,5 +1,6 @@
[gd_scene load_steps=9 format=3 uid="uid://0hdnmilwrsq6"] [gd_scene load_steps=10 format=3 uid="uid://0hdnmilwrsq6"]
[ext_resource type="Script" path="res://Scripts/FinalLevel.cs" id="1_sy7dk"]
[ext_resource type="Script" path="res://Scripts/HealthbarProgress.cs" id="2_53ar2"] [ext_resource type="Script" path="res://Scripts/HealthbarProgress.cs" id="2_53ar2"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="3_xr71f"] [ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="3_xr71f"]
[ext_resource type="PackedScene" uid="uid://brbshysbgd47q" path="res://Scenes/god_circuit.tscn" id="4_vmhpd"] [ext_resource type="PackedScene" uid="uid://brbshysbgd47q" path="res://Scenes/god_circuit.tscn" id="4_vmhpd"]
@@ -7,54 +8,14 @@
[ext_resource type="PackedScene" uid="uid://b0chkusc2bo2v" path="res://Levels/Final Levels/AnimatedFinal.tscn" id="6_8beqh"] [ext_resource type="PackedScene" uid="uid://b0chkusc2bo2v" path="res://Levels/Final Levels/AnimatedFinal.tscn" id="6_8beqh"]
[ext_resource type="PackedScene" uid="uid://b1j0g6ikmnibm" path="res://Scenes/HPComponent.tscn" id="7_nvq88"] [ext_resource type="PackedScene" uid="uid://b1j0g6ikmnibm" path="res://Scenes/HPComponent.tscn" id="7_nvq88"]
[sub_resource type="LabelSettings" id="LabelSettings_8edkl"]
font_color = Color(0, 0, 0, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_slhvd"] [sub_resource type="BoxShape3D" id="BoxShape3D_slhvd"]
size = Vector3(2.65272, 5.04315, 1.02395) size = Vector3(2.65272, 5.04315, 1.02395)
[sub_resource type="LabelSettings" id="LabelSettings_cs88m"]
font_color = Color(0, 0, 0, 1)
[node name="Level9" type="Node3D" groups=["Level"]] [node name="Level9" type="Node3D" groups=["Level"]]
script = ExtResource("1_sy7dk")
[node name="Control" type="Control" parent="."]
visible = false
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="TextureProgressBar" type="TextureProgressBar" parent="Control"]
top_level = true
z_index = 1
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_left = 4.0
offset_top = 44.0
offset_right = 4.0
offset_bottom = 73.0
grow_horizontal = 2
max_value = 2e+09
value = 2e+09
nine_patch_stretch = true
texture_progress = ExtResource("5_jjg8p")
script = ExtResource("2_53ar2")
[node name="Label" type="Label" parent="Control"]
top_level = true
z_index = 1
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -43.0
offset_right = 43.0
offset_bottom = 26.0
grow_horizontal = 2
text = "God Circuit
"
label_settings = SubResource("LabelSettings_8edkl")
[node name="P1_SpawnPoint" type="Marker3D" parent="."] [node name="P1_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.503964, 0.123258, 5.51333) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.503964, 0.123258, 5.51333)
@@ -77,8 +38,45 @@ shape = SubResource("BoxShape3D_slhvd")
[node name="HP Component" parent="God Circuit" node_paths=PackedStringArray("_healthBar") instance=ExtResource("7_nvq88")] [node name="HP Component" parent="God Circuit" node_paths=PackedStringArray("_healthBar") instance=ExtResource("7_nvq88")]
MaximumHP = 2000000000 MaximumHP = 2000000000
_healthBar = NodePath("../../Control/TextureProgressBar") _healthBar = NodePath("")
[node name="FINAL STAGE" parent="." instance=ExtResource("6_8beqh")] [node name="FINAL STAGE" parent="." instance=ExtResource("6_8beqh")]
[node name="FinalBossGUI" type="Control" parent="." groups=["BossGUI"]]
visible = false
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="TextureProgressBar" type="TextureProgressBar" parent="FinalBossGUI"]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_left = 383.0
offset_top = 44.0
offset_right = -491.0
offset_bottom = 73.0
grow_horizontal = 2
max_value = 1e+09
value = 1e+09
nine_patch_stretch = true
texture_progress = ExtResource("5_jjg8p")
script = ExtResource("2_53ar2")
[node name="Label" type="Label" parent="FinalBossGUI"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -43.0
offset_right = 43.0
offset_bottom = 26.0
grow_horizontal = 2
text = "God Circuit
"
label_settings = SubResource("LabelSettings_cs88m")
[connection signal="body_entered" from="God Circuit/Area3D" to="God Circuit" method="OnHit"] [connection signal="body_entered" from="God Circuit/Area3D" to="God Circuit" method="OnHit"]

View File

@@ -1,7 +1,22 @@
[gd_scene load_steps=2 format=3 uid="uid://dahp73fwld24h"] [gd_scene load_steps=4 format=3 uid="uid://dahp73fwld24h"]
[ext_resource type="Script" path="res://Scripts/RangedEnemy.cs" id="1_1t8ms"]
[ext_resource type="PackedScene" uid="uid://dotxb4dc15l4k" path="res://Models/Enemies/ranged enemy.glb" id="1_aj5wt"] [ext_resource type="PackedScene" uid="uid://dotxb4dc15l4k" path="res://Models/Enemies/ranged enemy.glb" id="1_aj5wt"]
[node name="Node3D" type="Node3D"] [sub_resource type="BoxShape3D" id="BoxShape3D_dm3u7"]
size = Vector3(1.15368, 2.18529, 0.924281)
[node name="ranged enemy" parent="." instance=ExtResource("1_aj5wt")] [node name="RangedEnemy" type="Node3D"]
script = ExtResource("1_1t8ms")
[node name="Area3D" type="Area3D" parent="."]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.094986, 0.430939, 0)
shape = SubResource("BoxShape3D_dm3u7")
[node name="ranged enemy" parent="Area3D" instance=ExtResource("1_aj5wt")]
[connection signal="body_entered" from="Area3D" to="." method="OnHit"]

View File

@@ -12,12 +12,11 @@ point_count = 4
[sub_resource type="CylinderShape3D" id="CylinderShape3D_mgm2i"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_mgm2i"]
height = 8.481 height = 8.481
radius = 0.3
[node name="CutterShot" type="Node3D" node_paths=PackedStringArray("_pathFollow", "_sprite")] [node name="CutterShot" type="Node3D" node_paths=PackedStringArray("_pathFollow", "_sprite")]
script = ExtResource("1_inha4") script = ExtResource("1_inha4")
_pathFollow = NodePath("Path3D/PathFollow3D") _pathFollow = NodePath("Path3D/PathFollow3D")
_sprite = NodePath("Path3D/PathFollow3D/Area3D/Sprite3D") _sprite = NodePath("Path3D/PathFollow3D/RigidBody3D/Sprite3D")
Cooldown = 0.3 Cooldown = 0.3
_projectileSpeed = 0.1 _projectileSpeed = 0.1
@@ -26,20 +25,32 @@ top_level = true
curve = SubResource("Curve3D_5hmi4") curve = SubResource("Curve3D_5hmi4")
[node name="PathFollow3D" type="PathFollow3D" parent="Path3D"] [node name="PathFollow3D" type="PathFollow3D" parent="Path3D"]
transform = Transform3D(0.782564, 0, -0.622568, 0, 1, 0, 0.622568, 0, 0.782564, 0, 1, 0) transform = Transform3D(-0.782564, 0, 0.622568, 0, 1, 0, -0.622568, 0, -0.782564, 0, 1, 0)
loop = false loop = false
tilt_enabled = false tilt_enabled = false
[node name="Area3D" type="Area3D" parent="Path3D/PathFollow3D"] [node name="RigidBody3D" type="RigidBody3D" parent="Path3D/PathFollow3D"]
collision_layer = 2 collision_layer = 2
collision_mask = 0 collision_mask = 0
gravity_scale = 0.0
continuous_cd = true
max_contacts_reported = 100
contact_monitor = true
can_sleep = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="Path3D/PathFollow3D/Area3D"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Path3D/PathFollow3D/RigidBody3D"]
transform = Transform3D(0.999999, 0, 8.9407e-08, 0, 1, 0, -8.9407e-08, 0, 0.999999, 0, 0, 0) transform = Transform3D(0.999999, 0, 1.19209e-07, 0, 1, 0, -1.19209e-07, 0, 0.999999, 0, 0, 0)
shape = SubResource("CylinderShape3D_mgm2i") shape = SubResource("CylinderShape3D_mgm2i")
[node name="Sprite3D" type="Sprite3D" parent="Path3D/PathFollow3D/Area3D"] [node name="Sprite3D" type="Sprite3D" parent="Path3D/PathFollow3D/RigidBody3D"]
transform = Transform3D(0.156513, 0, 0.124514, 0, 0.2, 0, -0.124514, 0, 0.156513, 0, 0, 0) transform = Transform3D(0.156513, 0, 0.124514, 0, 0.2, 0, -0.124514, 0, 0.156513, 0, 0, 0)
axis = 1 axis = 1
double_sided = false double_sided = false
texture = ExtResource("1_v8p6h") texture = ExtResource("1_v8p6h")
[node name="TTL" type="Timer" parent="."]
process_callback = 0
wait_time = 0.8
autostart = true
[connection signal="timeout" from="TTL" to="." method="OnTimeToLiveTimeout"]

View File

@@ -12,34 +12,45 @@ point_count = 4
[sub_resource type="CylinderShape3D" id="CylinderShape3D_mgm2i"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_mgm2i"]
height = 8.481 height = 8.481
radius = 0.3
[node name="CutterShot" type="Node3D" node_paths=PackedStringArray("_pathFollow", "_sprite")] [node name="CutterShot" type="Node3D" node_paths=PackedStringArray("_pathFollow", "_sprite")]
script = ExtResource("1_7xtlh") script = ExtResource("1_7xtlh")
_pathFollow = NodePath("Path3D/PathFollow3D") _pathFollow = NodePath("Path3D/PathFollow3D")
_sprite = NodePath("Path3D/PathFollow3D/Area3D/Sprite3D") _sprite = NodePath("Path3D/PathFollow3D/RigidBody3D/Sprite3D")
Cooldown = 0.3 Cooldown = 0.3
_projectileSpeed = 0.1 _projectileSpeed = 3.0
[node name="Path3D" type="Path3D" parent="."] [node name="Path3D" type="Path3D" parent="."]
top_level = true top_level = true
curve = SubResource("Curve3D_5hmi4") curve = SubResource("Curve3D_5hmi4")
[node name="PathFollow3D" type="PathFollow3D" parent="Path3D"] [node name="PathFollow3D" type="PathFollow3D" parent="Path3D"]
transform = Transform3D(0.782564, 0, 0.622568, 0, 1, 0, -0.622568, 0, 0.782564, 0, 1, 0) transform = Transform3D(-0.782564, 0, -0.622568, 0, 1, 0, 0.622568, 0, -0.782564, 0, 1, 0)
loop = false loop = false
tilt_enabled = false tilt_enabled = false
[node name="Area3D" type="Area3D" parent="Path3D/PathFollow3D"] [node name="RigidBody3D" type="RigidBody3D" parent="Path3D/PathFollow3D"]
collision_layer = 2 collision_layer = 2
collision_mask = 0 collision_mask = 0
gravity_scale = 0.0
continuous_cd = true
max_contacts_reported = 100
contact_monitor = true
can_sleep = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="Path3D/PathFollow3D/Area3D"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Path3D/PathFollow3D/RigidBody3D"]
transform = Transform3D(0.999999, 0, 8.9407e-08, 0, 1, 0, -8.9407e-08, 0, 0.999999, 0, 0, 0) transform = Transform3D(0.999999, 0, 5.96046e-08, 0, 1, 0, -5.96046e-08, 0, 0.999999, 0, 0, 0)
shape = SubResource("CylinderShape3D_mgm2i") shape = SubResource("CylinderShape3D_mgm2i")
[node name="Sprite3D" type="Sprite3D" parent="Path3D/PathFollow3D/Area3D"] [node name="Sprite3D" type="Sprite3D" parent="Path3D/PathFollow3D/RigidBody3D"]
transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 0, 0) transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 0, 0)
axis = 1 axis = 1
double_sided = false double_sided = false
texture = ExtResource("2_a0jul") texture = ExtResource("2_a0jul")
[node name="TTL" type="Timer" parent="."]
process_callback = 0
wait_time = 0.8
autostart = true
[connection signal="timeout" from="TTL" to="." method="OnTimeToLiveTimeout"]

View File

@@ -15,7 +15,6 @@ radius = 0.440093
[node name="TestBullet" type="Node3D"] [node name="TestBullet" type="Node3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.538645, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.538645, 0)
script = ExtResource("1_rv13r") script = ExtResource("1_rv13r")
Cooldown = null
_projectileSpeed = 20.0 _projectileSpeed = 20.0
[node name="RigidBody3D" type="RigidBody3D" parent="."] [node name="RigidBody3D" type="RigidBody3D" parent="."]

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://uatt2w2jsoan"
path.s3tc="res://.godot/imported/LB HEDRON.png-f20a599f24e3e8cd36a397be3e9d6d32.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Scenes/Weapons/LB HEDRON.png"
dest_files=["res://.godot/imported/LB HEDRON.png-f20a599f24e3e8cd36a397be3e9d6d32.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -21,7 +21,7 @@ _projectileSpeed = 15.0
[node name="RigidBody3D" type="RigidBody3D" parent="."] [node name="RigidBody3D" type="RigidBody3D" parent="."]
transform = Transform3D(0.99863, 0, -0.052336, 0, 1, 0, 0.052336, 0, 0.99863, -0.508974, 0, 0) transform = Transform3D(0.99863, 0, -0.052336, 0, 1, 0, 0.052336, 0, 0.99863, -0.508974, 0, 0)
collision_layer = 34 collision_layer = 34
collision_mask = 32 collision_mask = 34
gravity_scale = 0.0 gravity_scale = 0.0
continuous_cd = true continuous_cd = true
max_contacts_reported = 1000 max_contacts_reported = 1000
@@ -38,7 +38,7 @@ texture = ExtResource("2_wjqcr")
[node name="RigidBody3D2" type="RigidBody3D" parent="."] [node name="RigidBody3D2" type="RigidBody3D" parent="."]
transform = Transform3D(0.99863, 0, 0.052336, 0, 1, 0, -0.052336, 0, 0.99863, 0.647, 0, 0) transform = Transform3D(0.99863, 0, 0.052336, 0, 1, 0, -0.052336, 0, 0.99863, 0.647, 0, 0)
collision_layer = 34 collision_layer = 34
collision_mask = 32 collision_mask = 34
gravity_scale = 0.0 gravity_scale = 0.0
continuous_cd = true continuous_cd = true
max_contacts_reported = 1000 max_contacts_reported = 1000
@@ -55,7 +55,7 @@ texture = ExtResource("2_wjqcr")
[node name="RigidBody3D3" type="RigidBody3D" parent="."] [node name="RigidBody3D3" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.592052) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.592052)
collision_layer = 34 collision_layer = 34
collision_mask = 32 collision_mask = 34
gravity_scale = 0.0 gravity_scale = 0.0
continuous_cd = true continuous_cd = true
max_contacts_reported = 1000 max_contacts_reported = 1000

View File

@@ -0,0 +1,27 @@
[gd_scene load_steps=4 format=3 uid="uid://cyn2wn6ffsnu7"]
[ext_resource type="Script" path="res://Scripts/SingleShot.cs" id="1_18l5k"]
[ext_resource type="Texture2D" uid="uid://uatt2w2jsoan" path="res://Scenes/Weapons/LB HEDRON.png" id="1_nmsa0"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_njobr"]
radius = 0.3
[node name="Single" type="Node3D"]
script = ExtResource("1_18l5k")
Cooldown = 0.3
_projectileSpeed = 10.0
[node name="RigidBody3D" type="RigidBody3D" parent="."]
collision_layer = 2
collision_mask = 0
gravity_scale = 0.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.644825, 0)
shape = SubResource("CylinderShape3D_njobr")
[node name="Sprite3D" type="Sprite3D" parent="RigidBody3D"]
transform = Transform3D(0.07, 0, 0, 0, 0.07, 0, 0, 0, 0.07, -0.244938, 1.29552, 0.266473)
centered = false
axis = 1
texture = ExtResource("1_nmsa0")

View File

@@ -1,22 +1,19 @@
[gd_scene load_steps=6 format=3 uid="uid://si4byubqnng4"] [gd_scene load_steps=4 format=3 uid="uid://bwkp1ff25acp1"]
[ext_resource type="Script" path="res://Scripts/TestBullet.cs" id="1_f6dfa"] [ext_resource type="Script" path="res://Scripts/SingleShot.cs" id="1_a82kt"]
[ext_resource type="Texture2D" uid="uid://borp7xvlfdcmq" path="res://Textures/Projectiles/bubble.png" id="2_1dg7p"] [ext_resource type="Texture2D" uid="uid://borp7xvlfdcmq" path="res://Textures/Projectiles/bubble.png" id="2_1dg7p"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_phgri"]
albedo_color = Color(0.584314, 0.0352941, 0.141176, 1)
[sub_resource type="SphereMesh" id="SphereMesh_wuk0e"]
material = SubResource("StandardMaterial3D_phgri")
[sub_resource type="CylinderShape3D" id="CylinderShape3D_3c0di"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_3c0di"]
[node name="SingleShot" type="Node3D"] [node name="SingleShot" type="Node3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.538645, 0) script = ExtResource("1_a82kt")
script = ExtResource("1_f6dfa") Cooldown = 0.3
[node name="RigidBody3D" type="RigidBody3D" parent="."] [node name="RigidBody3D" type="RigidBody3D" parent="."]
collision_layer = 34 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -1)
top_level = true
disable_mode = 2
collision_layer = 0
collision_mask = 34 collision_mask = 34
gravity_scale = 0.0 gravity_scale = 0.0
continuous_cd = true continuous_cd = true
@@ -24,17 +21,12 @@ max_contacts_reported = 1000
contact_monitor = true contact_monitor = true
can_sleep = false can_sleep = false
[node name="MeshInstance3D" type="MeshInstance3D" parent="RigidBody3D"]
visible = false
mesh = SubResource("SphereMesh_wuk0e")
skeleton = NodePath("../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"] [node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0054872, -0.00215495, 0.0167444) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0054872, -0.00215495, 0.0167444)
shape = SubResource("CylinderShape3D_3c0di") shape = SubResource("CylinderShape3D_3c0di")
[node name="Sprite3D" type="Sprite3D" parent="RigidBody3D"] [node name="Sprite3D" type="Sprite3D" parent="RigidBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00168204, -0.0587139, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.002, 1, 0)
axis = 1 axis = 1
texture = ExtResource("2_1dg7p") texture = ExtResource("2_1dg7p")
@@ -42,5 +34,4 @@ texture = ExtResource("2_1dg7p")
process_callback = 0 process_callback = 0
autostart = true autostart = true
[connection signal="body_entered" from="RigidBody3D" to="." method="OnBulletHitObject"]
[connection signal="timeout" from="TTL" to="." method="OnTimeToLiveTimeout"] [connection signal="timeout" from="TTL" to="." method="OnTimeToLiveTimeout"]

View File

@@ -5,11 +5,19 @@ public partial class AreaExit : Node3D
[Export] [Export]
private int _levelIndex; private int _levelIndex;
private GameManager _gameManager;
public override void _Ready()
{
_gameManager = GetTree().Root.GetNode<GameManager>("Main/GameManager");
}
private void OnExitEntered(Node3D node) private void OnExitEntered(Node3D node)
{ {
GD.Print("Exit reached"); GD.Print("Exit reached");
var main = GetTree().Root.GetNode<Main>("/root/Main"); var main = GetTree().Root.GetNode<Main>("/root/Main");
main.LoadNextLevel(_levelIndex); main.LoadNextLevel(_levelIndex);
_gameManager.ResetPlayerPosition();
} }
} }

10
Scripts/FinalLevel.cs Normal file
View File

@@ -0,0 +1,10 @@
using Godot;
public partial class FinalLevel : Node3D
{
public override void _Ready()
{
var finalBossGUI = GetTree().GetFirstNodeInGroup("BossGUI") as Control;
finalBossGUI.Show();
}
}

View File

@@ -38,14 +38,19 @@ public partial class GameManager : Node
public void SetP1ToPreviousCharacter() => _p1CharacterIndex = _p1CharacterIndex == 0 ? _p1Characters.Count() : --_p1CharacterIndex; public void SetP1ToPreviousCharacter() => _p1CharacterIndex = _p1CharacterIndex == 0 ? _p1Characters.Count() : --_p1CharacterIndex;
public void ResetPlayerPosition()
{
var playerSpawnPoint = GetNode<SpawnPoint>("P1SpawnPoint");
playerSpawnPoint.SetPlayerPosition(_p1SelectedCharacter);
}
public void OnP1CharacterSelected() public void OnP1CharacterSelected()
{ {
GD.Print("Instancing..."); GD.Print("Instancing...");
var selectedPlayer = _p1Characters[_p1CharacterIndex].Instantiate(); var selectedPlayer = _p1Characters[_p1CharacterIndex].Instantiate();
_p1SelectedCharacter = selectedPlayer as Character; _p1SelectedCharacter = selectedPlayer as Character;
GetTree().Root.AddChild(_p1SelectedCharacter); GetTree().Root.AddChild(_p1SelectedCharacter);
var playerSpawnPoint = GetNode<SpawnPoint>("P1SpawnPoint"); ResetPlayerPosition();
playerSpawnPoint.SetPlayerPosition(_p1SelectedCharacter);
} }
public void RemoveP1Character() public void RemoveP1Character()

View File

@@ -30,7 +30,7 @@ public partial class MainMenu : Node2D
if (animationName == "FirstLevel") if (animationName == "FirstLevel")
{ {
var main = GetTree().Root.GetNode<Main>("/root/Main"); var main = GetTree().Root.GetNode<Main>("/root/Main");
main.LoadLevel(8); main.LoadLevel(0);
} }
} }
} }

View File

@@ -14,12 +14,12 @@ public partial class MeleeEnemy : BasicEnemy
var convertedPlayers = players.Select(x => (Node3D)x); var convertedPlayers = players.Select(x => (Node3D)x);
var target = convertedPlayers.OrderBy(x => Position.DistanceTo(x.Position)).FirstOrDefault(); var target = convertedPlayers.OrderBy(x => Position.DistanceTo(x.Position)).FirstOrDefault();
Position = Position.MoveToward(target.Position, _speed * (float)delta); Position = Position.MoveToward(target.Position, _speed * (float)delta);
MoveAndSlide(); //MoveAndSlide();
} }
} }
} }
public partial class BasicEnemy : CharacterBody3D public partial class BasicEnemy : Node3D
{ {
public void OnHit(Node3D node) public void OnHit(Node3D node)
{ {

View File

@@ -23,7 +23,7 @@ public partial class Player1 : Character
public override void _PhysicsProcess(double delta) public override void _PhysicsProcess(double delta)
{ {
if (!_gameManager.IsP1SelectingCharacter) if (!_gameManager.IsP1SelectingCharacter)
{ {
Velocity = CalculateCharacterMovement(delta); Velocity = CalculateCharacterMovement(delta);
MoveAndSlide(); MoveAndSlide();
} }
@@ -66,7 +66,7 @@ public partial class Player1 : Character
private async void Fire() private async void Fire()
{ {
var projectile = _fireProjectile.Instantiate<Projectile>(); var projectile = _fireProjectile.Instantiate<Projectile>();
projectile.Position = Position; projectile.Position = Position + new Vector3(0f, 1f, 0f);
GetParent().AddChild(projectile); GetParent().AddChild(projectile);
CanShoot = false; CanShoot = false;
await ToSignal(GetTree().CreateTimer(projectile.Cooldown), "timeout"); await ToSignal(GetTree().CreateTimer(projectile.Cooldown), "timeout");
@@ -76,7 +76,7 @@ public partial class Player1 : Character
private async void AltFire() private async void AltFire()
{ {
var projectile = _altFireProjectile.Instantiate<Projectile>(); var projectile = _altFireProjectile.Instantiate<Projectile>();
projectile.Position = Position; projectile.Position = Position + new Vector3(0f, 1f, 0f);
GetParent().AddChild(projectile); GetParent().AddChild(projectile);
CanShoot = false; CanShoot = false;
await ToSignal(GetTree().CreateTimer(projectile.Cooldown), "timeout"); await ToSignal(GetTree().CreateTimer(projectile.Cooldown), "timeout");

3
Scripts/RangedEnemy.cs Normal file
View File

@@ -0,0 +1,3 @@
public partial class RangedEnemy : BasicEnemy
{
}

16
Scripts/SingleShot.cs Normal file
View File

@@ -0,0 +1,16 @@
using Godot;
using System.Linq;
public partial class SingleShot : Projectile
{
public override void _PhysicsProcess(double delta)
{
var pellet = GetChildren().OfType<RigidBody3D>().Single();
pellet.Translate(new Vector3(0, 0, Speed * -(float)delta));
}
private void OnBulletHitObject(Node node)
{
QueueFree();
}
}

View File

@@ -1,14 +0,0 @@
using Godot;
public partial class TestBullet : Projectile
{
public override void _PhysicsProcess(double delta)
{
Translate(new Vector3(0, 0, Speed * -(float)delta));
}
private void OnBulletHitObject(Node node)
{
QueueFree();
}
}

View File

@@ -12,7 +12,7 @@ config_version=5
config/name="GameJam2023" config/name="GameJam2023"
run/main_scene="res://Scenes/Main.tscn" run/main_scene="res://Scenes/Main.tscn"
config/features=PackedStringArray("4.1", "C#", "Forward Plus") config/features=PackedStringArray("4.0", "C#", "Forward Plus")
run/physics_ticks_per_second=60 run/physics_ticks_per_second=60
[autoload] [autoload]
@@ -61,13 +61,13 @@ p1_down={
} }
p1_fire={ p1_fire={
"deadzone": 0.5, "deadzone": 0.5,
"events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":1,"canceled":false,"pressed":false,"double_click":false,"script":null) "events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":1,"pressed":false,"double_click":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":true,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":true,"script":null)
] ]
} }
p1_altfire={ p1_altfire={
"deadzone": 0.5, "deadzone": 0.5,
"events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":2,"canceled":false,"pressed":false,"double_click":false,"script":null) "events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":2,"pressed":false,"double_click":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":1,"pressure":0.0,"pressed":true,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":1,"pressure":0.0,"pressed":true,"script":null)
] ]
} }