This commit is contained in:
2023-09-05 01:52:10 -07:00
parent c645c56fb8
commit b9e66d9f93
42 changed files with 780 additions and 95 deletions

View File

@@ -1,6 +1,7 @@
[gd_scene load_steps=26 format=3 uid="uid://bgkqfamdiwrrw"]
[gd_scene load_steps=27 format=3 uid="uid://bgkqfamdiwrrw"]
[ext_resource type="Script" path="res://Scripts/Character1.cs" id="1_ah2xl"]
[ext_resource type="PackedScene" uid="uid://criqb4bokctlr" path="res://Scenes/Weapons/MegamiBeam.tscn" id="2_c3ma7"]
[sub_resource type="BoxShape3D" id="BoxShape3D_te8tc"]
size = Vector3(0.51397, 1.62586, 1.17668)
@@ -601,6 +602,8 @@ shadow_mesh = SubResource("ArrayMesh_htkik")
[node name="MegamiP1" type="CharacterBody3D" groups=["Player"]]
script = ExtResource("1_ah2xl")
_fireProjectile = ExtResource("2_c3ma7")
_altFireProjectile = ExtResource("2_c3ma7")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.726881, 0.14479)

View File

@@ -93,7 +93,7 @@ height = 3.34825
radius = 1.79103
[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.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
script = ExtResource("2_4y188")
[node name="AnimationPlayer" type="AnimationPlayer" parent="." index="3"]

View File

@@ -16,7 +16,7 @@ collision_layer = 0
collision_mask = 16
[node name="Exit Portal" parent="Area3D2" instance=ExtResource("2_sq8bv")]
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 2.14277, 0, -2.53252)
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, -0.0428823, 0, 3.24448)
_levelIndex = 1
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"]

View File

@@ -1,24 +0,0 @@
using Godot;
public partial class Level3 : Node3D
{
private int _numberOfHits = 3;
private MeshInstance3D _door;
public override void _Ready()
{
_door = GetNode<MeshInstance3D>("Door");
}
private void OnDoorHit(Node3D node)
{
_numberOfHits--;
GD.Print(_numberOfHits);
if (_numberOfHits == 0)
{
_door.Hide();
_door.QueueFree();
_door = null;
}
}
}

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=11 format=3 uid="uid://btl5fdyjewnwc"]
[ext_resource type="Script" path="res://Scenes/Levels/Level3.cs" id="1_88ujy"]
[ext_resource type="Script" path="res://Scripts/Level3.cs" id="1_88ujy"]
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="3_2t766"]
[ext_resource type="PackedScene" uid="uid://6w3upp7ln4i4" path="res://Levels/Final Levels/Stage3/Stage3.tscn" id="3_gd7oi"]
[ext_resource type="Texture2D" uid="uid://cpku414yrxoil" path="res://Levels/Final Levels/Stage3/STAGE 3_hell.png" id="3_gsb68"]

View File

@@ -10,7 +10,7 @@ radius = 0.957319
process_mode = 3
[node name="Area3D2" type="Area3D" parent="." groups=["Level"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.116568, 0.090312, -2.51937)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.484857, 0.090312, -2.51937)
disable_mode = 2
collision_layer = 0
collision_mask = 16
@@ -24,5 +24,12 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.11323, -2.51823)
shape = SubResource("CylinderShape3D_a56hv")
[node name="STAGE 7" parent="." instance=ExtResource("2_21i6n")]
transform = Transform3D(1.04, 0, 0, 0, 1.04, 0, 0, 0, 1.04, -0.601425, 0, 0)
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.5, 0.866025, 0, -0.866025, 0.5, -0.527878, 10.966, 6.61121)
projection = 1
current = true
size = 10.8546
[connection signal="body_entered" from="Area3D2" to="." method="OnExitEntered"]

View File

@@ -2,28 +2,13 @@
[ext_resource type="Script" path="res://Scripts/MainMenu.cs" id="1_6aikc"]
[ext_resource type="PackedScene" uid="uid://cjl20bs56430j" path="res://UI/Animations/UIAnimations.tscn" id="2_erh7e"]
[ext_resource type="Texture2D" uid="uid://srnf2fpwhlka" path="res://UI/titlescreenneedtext.png" id="3_7s65g"]
[ext_resource type="Texture2D" uid="uid://swxqmtawd1yo" path="res://UI/TITLE-SCREEN-01.png" id="4_0156s"]
[node name="MainMenu" type="Node2D"]
script = ExtResource("1_6aikc")
[node name="UIAnimations" parent="." instance=ExtResource("2_erh7e")]
[node name="TextureRect" type="TextureRect" parent="."]
anchors_preset = 14
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -7.0
offset_top = -170.0
offset_right = 1974.0
offset_bottom = 1395.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
texture = ExtResource("3_7s65g")
expand_mode = 1
[node name="NewGame" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
@@ -32,21 +17,45 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Button" type="Button" parent="NewGame"]
[node name="TextureRect" type="TextureRect" parent="NewGame"]
layout_mode = 0
offset_left = 654.0
offset_top = 170.0
offset_right = 1226.0
offset_bottom = 374.0
text = "One Player"
offset_right = 1920.0
offset_bottom = 1080.0
texture = ExtResource("4_0156s")
[node name="Button" type="Button" parent="NewGame"]
modulate = Color(1, 1, 1, 0)
layout_mode = 0
offset_left = 432.0
offset_top = 597.0
offset_right = 845.0
offset_bottom = 723.0
text = "
"
flat = true
[node name="Button2" type="Button" parent="NewGame"]
modulate = Color(1, 1, 1, 0)
layout_mode = 0
offset_left = 647.0
offset_top = 608.0
offset_right = 1219.0
offset_bottom = 812.0
text = "Two Player"
offset_left = 1061.0
offset_top = 598.0
offset_right = 1485.0
offset_bottom = 720.0
text = "
"
flat = true
[node name="Button3" type="Button" parent="NewGame"]
modulate = Color(1, 1, 1, 0)
layout_mode = 0
offset_left = 748.0
offset_top = 822.0
offset_right = 1172.0
offset_bottom = 944.0
text = "
"
flat = true
[connection signal="pressed" from="NewGame/Button" to="." method="OnSinglePlayerPressed"]
[connection signal="pressed" from="NewGame/Button2" to="." method="OnTwoPlayerPressed"]
[connection signal="pressed" from="NewGame/Button3" to="." method="OnQuitButtonPressed"]

View File

@@ -1,12 +1,12 @@
[gd_scene load_steps=8 format=3 uid="uid://dq1gtd55p04do"]
[ext_resource type="Script" path="res://Scripts/StageGUI.cs" id="1_wr2m0"]
[ext_resource type="Texture2D" uid="uid://d18xmfbg47qpi" path="res://Textures/Portraits/blank-background.png" id="2_rh3al"]
[ext_resource type="Script" path="res://Scripts/CharacterSelectUpdateService.cs" id="3_5iw21"]
[ext_resource type="Texture2D" uid="uid://5fnvx1dxl85g" path="res://Textures/Portraits/cap-bg.png" id="3_o2fah"]
[ext_resource type="Texture2D" uid="uid://d237k682uasn0" path="res://Textures/Portraits/pisces-bg.png" id="4_df6a8"]
[ext_resource type="Texture2D" uid="uid://fqmkmpmackem" path="res://Textures/Portraits/character-BACKGROUND-ONLY.png" id="4_xa2n6"]
[ext_resource type="Texture2D" uid="uid://dqukqw3vwfrog" path="res://Textures/Portraits/sag-bg.png" id="5_k6b7h"]
[ext_resource type="Texture2D" uid="uid://d0yx2qyi7dfkp" path="res://Textures/Portraits/scorpio-bg.png" id="6_vgqeh"]
[ext_resource type="Texture2D" uid="uid://c3eubpygfvc3l" path="res://Textures/Portraits/cap-bg-char.png" id="4_fuv8s"]
[ext_resource type="Texture2D" uid="uid://1pgw8he4k5va" path="res://Textures/Portraits/pisces-bg-char.png" id="5_y2ln6"]
[ext_resource type="Texture2D" uid="uid://bacwvejc4hcou" path="res://Textures/Portraits/sag-bg-char.png" id="6_iltal"]
[ext_resource type="Texture2D" uid="uid://o7uu4efxf36e" path="res://Textures/Portraits/scorpio-bg-char.png" id="7_tgrf5"]
[node name="StageGUI" type="Control"]
process_mode = 3
@@ -28,7 +28,7 @@ offset_top = -540.0
offset_right = 420.0
offset_bottom = 540.0
grow_vertical = 2
texture = ExtResource("4_xa2n6")
texture = ExtResource("2_rh3al")
[node name="SidebarRight" type="TextureRect" parent="."]
layout_mode = 1
@@ -42,7 +42,7 @@ offset_top = -540.0
offset_bottom = 540.0
grow_horizontal = 0
grow_vertical = 2
texture = ExtResource("4_xa2n6")
texture = ExtResource("2_rh3al")
[node name="CharacterSelect" type="Control" parent="."]
process_mode = 3
@@ -74,7 +74,7 @@ offset_top = -540.0
offset_right = 420.0
offset_bottom = 540.0
grow_vertical = 2
texture = ExtResource("3_o2fah")
texture = ExtResource("4_fuv8s")
stretch_mode = 2
[node name="PiscesBG" type="TextureRect" parent="CharacterSelect/P1"]
@@ -87,7 +87,7 @@ offset_top = -540.0
offset_right = 420.0
offset_bottom = 540.0
grow_vertical = 2
texture = ExtResource("4_df6a8")
texture = ExtResource("5_y2ln6")
stretch_mode = 2
[node name="SagBG" type="TextureRect" parent="CharacterSelect/P1"]
@@ -100,7 +100,7 @@ offset_top = -540.0
offset_right = 420.0
offset_bottom = 540.0
grow_vertical = 2
texture = ExtResource("5_k6b7h")
texture = ExtResource("6_iltal")
stretch_mode = 2
[node name="ScorpioBG" type="TextureRect" parent="CharacterSelect/P1"]
@@ -113,7 +113,7 @@ offset_top = -540.0
offset_right = 420.0
offset_bottom = 540.0
grow_vertical = 2
texture = ExtResource("6_vgqeh")
texture = ExtResource("7_tgrf5")
stretch_mode = 2
[node name="P2" type="Control" parent="CharacterSelect"]
@@ -142,7 +142,7 @@ offset_top = -540.0
offset_bottom = 540.0
grow_horizontal = 0
grow_vertical = 2
texture = ExtResource("3_o2fah")
texture = ExtResource("4_fuv8s")
[node name="PiscesBG" type="TextureRect" parent="CharacterSelect/P2"]
visible = false
@@ -157,7 +157,7 @@ offset_top = -540.0
offset_bottom = 540.0
grow_horizontal = 0
grow_vertical = 2
texture = ExtResource("4_df6a8")
texture = ExtResource("5_y2ln6")
[node name="SagBG" type="TextureRect" parent="CharacterSelect/P2"]
visible = false
@@ -172,7 +172,7 @@ offset_top = -540.0
offset_bottom = 540.0
grow_horizontal = 0
grow_vertical = 2
texture = ExtResource("5_k6b7h")
texture = ExtResource("6_iltal")
[node name="ScorpioBG" type="TextureRect" parent="CharacterSelect/P2"]
visible = false
@@ -187,7 +187,7 @@ offset_top = -540.0
offset_bottom = 540.0
grow_horizontal = 0
grow_vertical = 2
texture = ExtResource("6_vgqeh")
texture = ExtResource("7_tgrf5")
[connection signal="CapricornP1Selected" from="." to="CharacterSelect" method="OnCapricornP1Selected"]
[connection signal="CapricornP2Selected" from="." to="CharacterSelect" method="OnCapricornP2Selected"]

View File

@@ -16,7 +16,7 @@ height = 8.481
[node name="CutterShot" type="Node3D" node_paths=PackedStringArray("_pathFollow", "_sprite")]
script = ExtResource("1_7xtlh")
_pathFollow = NodePath("Path3D/PathFollow3D")
_sprite = NodePath("")
_sprite = NodePath("Path3D/PathFollow3D/RigidBody3D/CollisionShape3D/Sprite3D")
Cooldown = 0.3
_projectileSpeed = 3.0

View File

@@ -0,0 +1,33 @@
[gd_scene load_steps=4 format=3 uid="uid://criqb4bokctlr"]
[ext_resource type="Texture2D" uid="uid://cferkvvp0rjht" path="res://Textures/Projectiles/Projectile_Sagittarius.png" id="1_57flt"]
[ext_resource type="Script" path="res://Scripts/MegamiBeamShot.cs" id="1_a146o"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_bnunv"]
radius = 0.419241
[node name="MegamiBeam" type="Node3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.375737)
script = ExtResource("1_a146o")
Cooldown = 3.0
_projectileSpeed = 10.0
[node name="Beam" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.5)
collision_layer = 34
collision_mask = 34
gravity_scale = 0.0
continuous_cd = true
max_contacts_reported = 1000
contact_monitor = true
can_sleep = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="Beam"]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
shape = SubResource("CylinderShape3D_bnunv")
[node name="Sprite3D2" type="Sprite3D" parent="Beam"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.33, 0, 0.5)
centered = false
axis = 1
texture = ExtResource("1_57flt")