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

@@ -17,8 +17,8 @@ force/mono=false
force/max_rate=false force/max_rate=false
force/max_rate_hz=44100 force/max_rate_hz=44100
edit/trim=false edit/trim=false
edit/normalize=false edit/normalize=true
edit/loop_mode=0 edit/loop_mode=2
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=0 compress/mode=0

View File

@@ -17,8 +17,8 @@ force/mono=false
force/max_rate=false force/max_rate=false
force/max_rate_hz=44100 force/max_rate_hz=44100
edit/trim=false edit/trim=false
edit/normalize=false edit/normalize=true
edit/loop_mode=0 edit/loop_mode=2
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=0 compress/mode=0

View File

@@ -17,8 +17,8 @@ force/mono=false
force/max_rate=false force/max_rate=false
force/max_rate_hz=44100 force/max_rate_hz=44100
edit/trim=false edit/trim=false
edit/normalize=false edit/normalize=true
edit/loop_mode=0 edit/loop_mode=2
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=0 compress/mode=0

View File

@@ -32,5 +32,5 @@ shape = SubResource("ConcavePolygonShape3D_qdpti")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cube001/StaticBody3D" index="0"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Cube001/StaticBody3D" index="0"]
shape = SubResource("ConcavePolygonShape3D_cctvu") shape = SubResource("ConcavePolygonShape3D_cctvu")
[node name="AnimationPlayer" parent="." index="5"] [node name="AnimationPlayer" parent="." index="6"]
autoplay = "Animation" autoplay = "Animation"

File diff suppressed because one or more lines are too long

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="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"] [sub_resource type="BoxShape3D" id="BoxShape3D_te8tc"]
size = Vector3(0.51397, 1.62586, 1.17668) size = Vector3(0.51397, 1.62586, 1.17668)
@@ -601,6 +602,8 @@ shadow_mesh = SubResource("ArrayMesh_htkik")
[node name="MegamiP1" type="CharacterBody3D" groups=["Player"]] [node name="MegamiP1" type="CharacterBody3D" groups=["Player"]]
script = ExtResource("1_ah2xl") script = ExtResource("1_ah2xl")
_fireProjectile = ExtResource("2_c3ma7")
_altFireProjectile = ExtResource("2_c3ma7")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."] [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.726881, 0.14479) 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 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.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
script = ExtResource("2_4y188") script = ExtResource("2_4y188")
[node name="AnimationPlayer" type="AnimationPlayer" parent="." index="3"] [node name="AnimationPlayer" type="AnimationPlayer" parent="." index="3"]

View File

@@ -16,7 +16,7 @@ collision_layer = 0
collision_mask = 16 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, 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 _levelIndex = 1
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"]

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=11 format=3 uid="uid://btl5fdyjewnwc"] [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://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="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"] [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 process_mode = 3
[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, 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 disable_mode = 2
collision_layer = 0 collision_layer = 0
collision_mask = 16 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") shape = SubResource("CylinderShape3D_a56hv")
[node name="STAGE 7" parent="." instance=ExtResource("2_21i6n")] [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"] [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="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="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"] [node name="MainMenu" type="Node2D"]
script = ExtResource("1_6aikc") script = ExtResource("1_6aikc")
[node name="UIAnimations" parent="." instance=ExtResource("2_erh7e")] [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="."] [node name="NewGame" type="Control" parent="."]
layout_mode = 3 layout_mode = 3
anchors_preset = 15 anchors_preset = 15
@@ -32,21 +17,45 @@ anchor_bottom = 1.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
[node name="Button" type="Button" parent="NewGame"] [node name="TextureRect" type="TextureRect" parent="NewGame"]
layout_mode = 0 layout_mode = 0
offset_left = 654.0 offset_right = 1920.0
offset_top = 170.0 offset_bottom = 1080.0
offset_right = 1226.0 texture = ExtResource("4_0156s")
offset_bottom = 374.0
text = "One Player" [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"] [node name="Button2" type="Button" parent="NewGame"]
modulate = Color(1, 1, 1, 0)
layout_mode = 0 layout_mode = 0
offset_left = 647.0 offset_left = 1061.0
offset_top = 608.0 offset_top = 598.0
offset_right = 1219.0 offset_right = 1485.0
offset_bottom = 812.0 offset_bottom = 720.0
text = "Two Player" 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/Button" to="." method="OnSinglePlayerPressed"]
[connection signal="pressed" from="NewGame/Button2" to="." method="OnTwoPlayerPressed"] [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"] [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="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="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://c3eubpygfvc3l" path="res://Textures/Portraits/cap-bg-char.png" id="4_fuv8s"]
[ext_resource type="Texture2D" uid="uid://d237k682uasn0" path="res://Textures/Portraits/pisces-bg.png" id="4_df6a8"] [ext_resource type="Texture2D" uid="uid://1pgw8he4k5va" path="res://Textures/Portraits/pisces-bg-char.png" id="5_y2ln6"]
[ext_resource type="Texture2D" uid="uid://fqmkmpmackem" path="res://Textures/Portraits/character-BACKGROUND-ONLY.png" id="4_xa2n6"] [ext_resource type="Texture2D" uid="uid://bacwvejc4hcou" path="res://Textures/Portraits/sag-bg-char.png" id="6_iltal"]
[ext_resource type="Texture2D" uid="uid://dqukqw3vwfrog" path="res://Textures/Portraits/sag-bg.png" id="5_k6b7h"] [ext_resource type="Texture2D" uid="uid://o7uu4efxf36e" path="res://Textures/Portraits/scorpio-bg-char.png" id="7_tgrf5"]
[ext_resource type="Texture2D" uid="uid://d0yx2qyi7dfkp" path="res://Textures/Portraits/scorpio-bg.png" id="6_vgqeh"]
[node name="StageGUI" type="Control"] [node name="StageGUI" type="Control"]
process_mode = 3 process_mode = 3
@@ -28,7 +28,7 @@ offset_top = -540.0
offset_right = 420.0 offset_right = 420.0
offset_bottom = 540.0 offset_bottom = 540.0
grow_vertical = 2 grow_vertical = 2
texture = ExtResource("4_xa2n6") texture = ExtResource("2_rh3al")
[node name="SidebarRight" type="TextureRect" parent="."] [node name="SidebarRight" type="TextureRect" parent="."]
layout_mode = 1 layout_mode = 1
@@ -42,7 +42,7 @@ offset_top = -540.0
offset_bottom = 540.0 offset_bottom = 540.0
grow_horizontal = 0 grow_horizontal = 0
grow_vertical = 2 grow_vertical = 2
texture = ExtResource("4_xa2n6") texture = ExtResource("2_rh3al")
[node name="CharacterSelect" type="Control" parent="."] [node name="CharacterSelect" type="Control" parent="."]
process_mode = 3 process_mode = 3
@@ -74,7 +74,7 @@ offset_top = -540.0
offset_right = 420.0 offset_right = 420.0
offset_bottom = 540.0 offset_bottom = 540.0
grow_vertical = 2 grow_vertical = 2
texture = ExtResource("3_o2fah") texture = ExtResource("4_fuv8s")
stretch_mode = 2 stretch_mode = 2
[node name="PiscesBG" type="TextureRect" parent="CharacterSelect/P1"] [node name="PiscesBG" type="TextureRect" parent="CharacterSelect/P1"]
@@ -87,7 +87,7 @@ offset_top = -540.0
offset_right = 420.0 offset_right = 420.0
offset_bottom = 540.0 offset_bottom = 540.0
grow_vertical = 2 grow_vertical = 2
texture = ExtResource("4_df6a8") texture = ExtResource("5_y2ln6")
stretch_mode = 2 stretch_mode = 2
[node name="SagBG" type="TextureRect" parent="CharacterSelect/P1"] [node name="SagBG" type="TextureRect" parent="CharacterSelect/P1"]
@@ -100,7 +100,7 @@ offset_top = -540.0
offset_right = 420.0 offset_right = 420.0
offset_bottom = 540.0 offset_bottom = 540.0
grow_vertical = 2 grow_vertical = 2
texture = ExtResource("5_k6b7h") texture = ExtResource("6_iltal")
stretch_mode = 2 stretch_mode = 2
[node name="ScorpioBG" type="TextureRect" parent="CharacterSelect/P1"] [node name="ScorpioBG" type="TextureRect" parent="CharacterSelect/P1"]
@@ -113,7 +113,7 @@ offset_top = -540.0
offset_right = 420.0 offset_right = 420.0
offset_bottom = 540.0 offset_bottom = 540.0
grow_vertical = 2 grow_vertical = 2
texture = ExtResource("6_vgqeh") texture = ExtResource("7_tgrf5")
stretch_mode = 2 stretch_mode = 2
[node name="P2" type="Control" parent="CharacterSelect"] [node name="P2" type="Control" parent="CharacterSelect"]
@@ -142,7 +142,7 @@ offset_top = -540.0
offset_bottom = 540.0 offset_bottom = 540.0
grow_horizontal = 0 grow_horizontal = 0
grow_vertical = 2 grow_vertical = 2
texture = ExtResource("3_o2fah") texture = ExtResource("4_fuv8s")
[node name="PiscesBG" type="TextureRect" parent="CharacterSelect/P2"] [node name="PiscesBG" type="TextureRect" parent="CharacterSelect/P2"]
visible = false visible = false
@@ -157,7 +157,7 @@ offset_top = -540.0
offset_bottom = 540.0 offset_bottom = 540.0
grow_horizontal = 0 grow_horizontal = 0
grow_vertical = 2 grow_vertical = 2
texture = ExtResource("4_df6a8") texture = ExtResource("5_y2ln6")
[node name="SagBG" type="TextureRect" parent="CharacterSelect/P2"] [node name="SagBG" type="TextureRect" parent="CharacterSelect/P2"]
visible = false visible = false
@@ -172,7 +172,7 @@ offset_top = -540.0
offset_bottom = 540.0 offset_bottom = 540.0
grow_horizontal = 0 grow_horizontal = 0
grow_vertical = 2 grow_vertical = 2
texture = ExtResource("5_k6b7h") texture = ExtResource("6_iltal")
[node name="ScorpioBG" type="TextureRect" parent="CharacterSelect/P2"] [node name="ScorpioBG" type="TextureRect" parent="CharacterSelect/P2"]
visible = false visible = false
@@ -187,7 +187,7 @@ offset_top = -540.0
offset_bottom = 540.0 offset_bottom = 540.0
grow_horizontal = 0 grow_horizontal = 0
grow_vertical = 2 grow_vertical = 2
texture = ExtResource("6_vgqeh") texture = ExtResource("7_tgrf5")
[connection signal="CapricornP1Selected" from="." to="CharacterSelect" method="OnCapricornP1Selected"] [connection signal="CapricornP1Selected" from="." to="CharacterSelect" method="OnCapricornP1Selected"]
[connection signal="CapricornP2Selected" from="." to="CharacterSelect" method="OnCapricornP2Selected"] [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")] [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("") _sprite = NodePath("Path3D/PathFollow3D/RigidBody3D/CollisionShape3D/Sprite3D")
Cooldown = 0.3 Cooldown = 0.3
_projectileSpeed = 3.0 _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")

View File

@@ -100,6 +100,7 @@ public partial class Capricorn : Character1
await ToSignal(GetTree().CreateTimer(0.8f), "timeout"); await ToSignal(GetTree().CreateTimer(0.8f), "timeout");
var projectile = _fireProjectile.Instantiate<Projectile>(); var projectile = _fireProjectile.Instantiate<Projectile>();
projectile.Position = Position + new Vector3(0f, 1f, 0f); projectile.Position = Position + new Vector3(0f, 1f, 0f);
projectile.ParentCharacter = this;
GetParent().AddChild(projectile); GetParent().AddChild(projectile);
CanShoot = true; CanShoot = true;
IsShooting = false; IsShooting = false;
@@ -112,6 +113,7 @@ public partial class Capricorn : Character1
await ToSignal(GetTree().CreateTimer(0.8f), "timeout"); await ToSignal(GetTree().CreateTimer(0.8f), "timeout");
var projectile = _altFireProjectile.Instantiate<Projectile>(); var projectile = _altFireProjectile.Instantiate<Projectile>();
projectile.Position = Position + new Vector3(0f, 1f, 0f); projectile.Position = Position + new Vector3(0f, 1f, 0f);
projectile.ParentCharacter = this;
GetParent().AddChild(projectile); GetParent().AddChild(projectile);
CanShoot = true; CanShoot = true;
IsShooting = false; IsShooting = false;

View File

@@ -98,6 +98,7 @@ public partial class Capricorn2 : Character2
IsShooting = true; IsShooting = true;
var projectile = _fireProjectile.Instantiate<Projectile>(); var projectile = _fireProjectile.Instantiate<Projectile>();
projectile.Position = Position + new Vector3(0f, 1f, 0f); projectile.Position = Position + new Vector3(0f, 1f, 0f);
projectile.ParentCharacter = this;
GetParent().AddChild(projectile); GetParent().AddChild(projectile);
CanShoot = false; CanShoot = false;
await ToSignal(GetTree().CreateTimer(2.0f), "timeout"); await ToSignal(GetTree().CreateTimer(2.0f), "timeout");
@@ -110,6 +111,7 @@ public partial class Capricorn2 : Character2
IsShooting = true; IsShooting = true;
var projectile = _altFireProjectile.Instantiate<Projectile>(); var projectile = _altFireProjectile.Instantiate<Projectile>();
projectile.Position = Position + new Vector3(0f, 1f, 0f); projectile.Position = Position + new Vector3(0f, 1f, 0f);
projectile.ParentCharacter = this;
GetParent().AddChild(projectile); GetParent().AddChild(projectile);
CanShoot = false; CanShoot = false;
await ToSignal(GetTree().CreateTimer(2.0f), "timeout"); await ToSignal(GetTree().CreateTimer(2.0f), "timeout");

View File

@@ -61,6 +61,7 @@ public partial class Character1 : Character
{ {
var projectile = _fireProjectile.Instantiate<Projectile>(); var projectile = _fireProjectile.Instantiate<Projectile>();
projectile.Position = Position + new Vector3(0f, 1f, 0f); projectile.Position = Position + new Vector3(0f, 1f, 0f);
projectile.ParentCharacter = this;
GetParent().AddChild(projectile); GetParent().AddChild(projectile);
CanShoot = false; CanShoot = false;
await ToSignal(GetTree().CreateTimer(projectile.Cooldown), "timeout"); await ToSignal(GetTree().CreateTimer(projectile.Cooldown), "timeout");
@@ -71,6 +72,7 @@ public partial class Character1 : Character
{ {
var projectile = _altFireProjectile.Instantiate<Projectile>(); var projectile = _altFireProjectile.Instantiate<Projectile>();
projectile.Position = Position + new Vector3(0f, 1f, 0f); projectile.Position = Position + new Vector3(0f, 1f, 0f);
projectile.ParentCharacter = this;
GetParent().AddChild(projectile); GetParent().AddChild(projectile);
CanShoot = false; CanShoot = false;
await ToSignal(GetTree().CreateTimer(projectile.Cooldown), "timeout"); await ToSignal(GetTree().CreateTimer(projectile.Cooldown), "timeout");

View File

@@ -40,6 +40,11 @@ public partial class MainMenu : Node2D
_animationPlayer.AnimationFinished += OnAnimationFinishedCallTwoPlayerStart; _animationPlayer.AnimationFinished += OnAnimationFinishedCallTwoPlayerStart;
} }
private void OnQuitButtonPressed()
{
GetTree().Quit();
}
private void OnAnimationFinishedCallTwoPlayerStart(StringName animationName) private void OnAnimationFinishedCallTwoPlayerStart(StringName animationName)
{ {
if (animationName == "FirstLevel") if (animationName == "FirstLevel")

15
Scripts/MegamiBeamShot.cs Normal file
View File

@@ -0,0 +1,15 @@
using Godot;
public partial class MegamiBeamShot : Projectile
{
public override void _Ready()
{
Rotation = ParentCharacter.Rotation;
GD.Print(Rotation);
}
public override void _Process(double delta)
{
Translate(new Vector3(0, 0, -Speed * (float)delta));
}
}

View File

@@ -6,6 +6,8 @@ public partial class Projectile : Node3D
[Export] [Export]
public double Cooldown { get; protected set; } public double Cooldown { get; protected set; }
public Character ParentCharacter;
[Export] [Export]
private float _projectileSpeed = 1f; private float _projectileSpeed = 1f;

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d18xmfbg47qpi"
path="res://.godot/imported/blank-background.png-16c50ce436e4ecd8478aeb71ffee1798.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/Portraits/blank-background.png"
dest_files=["res://.godot/imported/blank-background.png-16c50ce436e4ecd8478aeb71ffee1798.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d4lshh4o1jsh1"
path="res://.godot/imported/cap-bg-02.png-42ef75390dcc628276c85db9e2233ce6.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/Portraits/cap-bg-02.png"
dest_files=["res://.godot/imported/cap-bg-02.png-42ef75390dcc628276c85db9e2233ce6.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c3eubpygfvc3l"
path="res://.godot/imported/cap-bg-char.png-f836e4d417ca10c0b700566cde88e203.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/Portraits/cap-bg-char.png"
dest_files=["res://.godot/imported/cap-bg-char.png-f836e4d417ca10c0b700566cde88e203.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cufkfe2ppn6qp"
path="res://.godot/imported/pisces-bg-02.png-74c3d9f1c6e4b563d219eb6146b3eed6.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/Portraits/pisces-bg-02.png"
dest_files=["res://.godot/imported/pisces-bg-02.png-74c3d9f1c6e4b563d219eb6146b3eed6.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://1pgw8he4k5va"
path="res://.godot/imported/pisces-bg-char.png-56f6005414fe67fecf6f9359cde87f42.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/Portraits/pisces-bg-char.png"
dest_files=["res://.godot/imported/pisces-bg-char.png-56f6005414fe67fecf6f9359cde87f42.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ddj63xn2jfn1x"
path="res://.godot/imported/sag-bg-02.png-8f023a9139bd943dcc554fab6a68c559.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/Portraits/sag-bg-02.png"
dest_files=["res://.godot/imported/sag-bg-02.png-8f023a9139bd943dcc554fab6a68c559.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bacwvejc4hcou"
path="res://.godot/imported/sag-bg-char.png-8987babd52feee988e37c21f7742b940.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/Portraits/sag-bg-char.png"
dest_files=["res://.godot/imported/sag-bg-char.png-8987babd52feee988e37c21f7742b940.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://k1f5p6f816gk"
path="res://.godot/imported/scorpio-bg-02.png-93f2dddb2841a9c938a85f375d370f40.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/Portraits/scorpio-bg-02.png"
dest_files=["res://.godot/imported/scorpio-bg-02.png-93f2dddb2841a9c938a85f375d370f40.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://o7uu4efxf36e"
path="res://.godot/imported/scorpio-bg-char.png-8057e93b106d37806c3bec3b06342070.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/Portraits/scorpio-bg-char.png"
dest_files=["res://.godot/imported/scorpio-bg-char.png-8057e93b106d37806c3bec3b06342070.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1

View File

@@ -3,25 +3,26 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://cferkvvp0rjht" uid="uid://cferkvvp0rjht"
path="res://.godot/imported/Projectile_Sagittarius.png-b350928cffc06e93f90a08c8d1afeb5e.ctex" path.s3tc="res://.godot/imported/Projectile_Sagittarius.png-b350928cffc06e93f90a08c8d1afeb5e.s3tc.ctex"
metadata={ metadata={
"vram_texture": false "imported_formats": ["s3tc_bptc"],
"vram_texture": true
} }
[deps] [deps]
source_file="res://Textures/Projectiles/Projectile_Sagittarius.png" source_file="res://Textures/Projectiles/Projectile_Sagittarius.png"
dest_files=["res://.godot/imported/Projectile_Sagittarius.png-b350928cffc06e93f90a08c8d1afeb5e.ctex"] dest_files=["res://.godot/imported/Projectile_Sagittarius.png-b350928cffc06e93f90a08c8d1afeb5e.s3tc.ctex"]
[params] [params]
compress/mode=0 compress/mode=2
compress/high_quality=false compress/high_quality=false
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_compression=1 compress/hdr_compression=1
compress/normal_map=0 compress/normal_map=0
compress/channel_pack=0 compress/channel_pack=0
mipmaps/generate=false mipmaps/generate=true
mipmaps/limit=-1 mipmaps/limit=-1
roughness/mode=0 roughness/mode=0
roughness/src_normal="" roughness/src_normal=""
@@ -31,4 +32,4 @@ process/normal_map_invert_y=false
process/hdr_as_srgb=false process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=0

BIN
UI/TITLE-SCREEN-01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://swxqmtawd1yo"
path="res://.godot/imported/TITLE-SCREEN-01.png-882a9e6f018a02ae69f263e6483f8a5a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/TITLE-SCREEN-01.png"
dest_files=["res://.godot/imported/TITLE-SCREEN-01.png-882a9e6f018a02ae69f263e6483f8a5a.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1