Buggy but playable, auto-complete on stage 6 still a bug
This commit is contained in:
@@ -68,7 +68,6 @@ public partial class Character : CharacterBody3D
|
||||
|
||||
private async void Fire()
|
||||
{
|
||||
GD.Print("Firing projectile at " + GlobalPosition);
|
||||
var projectile = _fireProjectile.Instantiate<Node3D>();
|
||||
projectile.Position = Position;
|
||||
GetParent().AddChild(projectile);
|
||||
|
||||
@@ -30,7 +30,6 @@ public partial class Projectile : Node3D
|
||||
|
||||
public override void _PhysicsProcess(double delta)
|
||||
{
|
||||
GD.Print("Projectile is at " + GlobalPosition);
|
||||
var pathFollow = GetNode<PathFollow3D>("PathFollow3D");
|
||||
pathFollow.Progress += Speed * (float)delta;
|
||||
if (pathFollow.ProgressRatio > 0.98f)
|
||||
|
||||
@@ -46,7 +46,7 @@ loop = false
|
||||
tilt_enabled = false
|
||||
|
||||
[node name="Hitbox" type="RigidBody3D" parent="Forward Shot/PathFollow3D"]
|
||||
collision_layer = 12
|
||||
collision_layer = 44
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 1
|
||||
@@ -79,7 +79,7 @@ loop = false
|
||||
tilt_enabled = false
|
||||
|
||||
[node name="Hitbox" type="RigidBody3D" parent="Backward Shot/PathFollow3D"]
|
||||
collision_layer = 12
|
||||
collision_layer = 44
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 1
|
||||
|
||||
@@ -46,7 +46,7 @@ loop = false
|
||||
tilt_enabled = false
|
||||
|
||||
[node name="HitBox" type="RigidBody3D" parent="Forward Shot/PathFollow3D"]
|
||||
collision_layer = 12
|
||||
collision_layer = 44
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 1
|
||||
@@ -80,7 +80,7 @@ tilt_enabled = false
|
||||
|
||||
[node name="HitBox" type="RigidBody3D" parent="Backward Shot/PathFollow3D"]
|
||||
transform = Transform3D(0.999999, 0, 0.00207308, 0, 1, 0, -0.00207308, 0, 0.999999, 0.00236542, -1, -0.53373)
|
||||
collision_layer = 12
|
||||
collision_layer = 44
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 1
|
||||
|
||||
@@ -37,7 +37,7 @@ tilt_enabled = false
|
||||
|
||||
[node name="Hitbox" type="RigidBody3D" parent="Center Shot/PathFollow3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00512208, 0, 0.096)
|
||||
collision_layer = 12
|
||||
collision_layer = 44
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 1000
|
||||
@@ -64,13 +64,13 @@ _onHitSfx = ExtResource("4_2g102")
|
||||
_hitBox = NodePath("PathFollow3D/Hitbox")
|
||||
|
||||
[node name="PathFollow3D" type="PathFollow3D" parent="Left Shot"]
|
||||
transform = Transform3D(0.999998, 0, -0.00159998, 0, 1, 0, 0.00159998, 0, 0.999998, 0, 0, 0)
|
||||
transform = Transform3D(0.999998, 0, -0.0016, 0, 1, 0, 0.0016, 0, 0.999998, 0, 0, 0)
|
||||
loop = false
|
||||
tilt_enabled = false
|
||||
|
||||
[node name="Hitbox" type="RigidBody3D" parent="Left Shot/PathFollow3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.03827, 0, 0.0309103)
|
||||
collision_layer = 12
|
||||
collision_layer = 44
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 1000
|
||||
@@ -97,13 +97,13 @@ _onHitSfx = ExtResource("4_2g102")
|
||||
_hitBox = NodePath("PathFollow3D/Hitbox")
|
||||
|
||||
[node name="PathFollow3D" type="PathFollow3D" parent="Right Shot"]
|
||||
transform = Transform3D(0.999998, 0, -0.00159997, 0, 1, 0, 0.00159997, 0, 0.999998, 0, 0, 0)
|
||||
transform = Transform3D(0.999998, 0, -0.0016, 0, 1, 0, 0.0016, 0, 0.999998, 0, 0, 0)
|
||||
loop = false
|
||||
tilt_enabled = false
|
||||
|
||||
[node name="Hitbox" type="RigidBody3D" parent="Right Shot/PathFollow3D"]
|
||||
transform = Transform3D(-1, 0, -0.00159994, 0, 1, 0, 0.00159994, 0, -1, -0.06, 0, 0.096)
|
||||
collision_layer = 12
|
||||
collision_layer = 44
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 1000
|
||||
|
||||
@@ -36,7 +36,7 @@ tilt_enabled = false
|
||||
|
||||
[node name="Hitbox" type="RigidBody3D" parent="Center Shot/PathFollow3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.92646, 0)
|
||||
collision_layer = 12
|
||||
collision_layer = 44
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 1
|
||||
|
||||
@@ -31,13 +31,13 @@ _hitBox = NodePath("PathFollow3D/Beam")
|
||||
HasRotation = true
|
||||
|
||||
[node name="PathFollow3D" type="PathFollow3D" parent="Path3D"]
|
||||
transform = Transform3D(0.999993, 0, 0, 0, 0.970138, -0.242535, 0, 0.242534, 0.970141, 0, 1, -1)
|
||||
transform = Transform3D(0.999818, 0.00777275, 0.0169926, 4.65658e-10, 0.909374, -0.415969, -0.0186858, 0.415894, 0.909219, 0, 1, -1)
|
||||
loop = false
|
||||
tilt_enabled = false
|
||||
|
||||
[node name="Beam" type="RigidBody3D" parent="Path3D/PathFollow3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, -1, -1.50996e-07, 0, 1.50996e-07, -1, 0, 0, 0)
|
||||
collision_layer = 12
|
||||
collision_layer = 44
|
||||
collision_mask = 0
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
|
||||
@@ -14,6 +14,7 @@ point_count = 4
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_mgm2i"]
|
||||
height = 8.481
|
||||
radius = 0.304769
|
||||
|
||||
[node name="CutterShot" type="Node3D"]
|
||||
|
||||
@@ -29,13 +30,13 @@ _onHitSfx = ExtResource("3_32sc2")
|
||||
_hitBox = NodePath("PathFollow3D/RigidBody3D")
|
||||
|
||||
[node name="PathFollow3D" type="PathFollow3D" parent="Path3D"]
|
||||
transform = Transform3D(0.95152, 0.00128604, -0.30758, 0, 0.999991, 0.00418112, 0.307583, -0.00397843, 0.951511, 0, 1, 0)
|
||||
transform = Transform3D(0.95152, 0.00128605, -0.30758, 1.16415e-10, 0.999991, 0.00418113, 0.307582, -0.00397844, 0.951511, 0, 1, 0)
|
||||
loop = false
|
||||
tilt_enabled = false
|
||||
|
||||
[node name="RigidBody3D" type="RigidBody3D" parent="Path3D/PathFollow3D"]
|
||||
transform = Transform3D(1, 0, 2.98023e-08, 0, 1, 0, -2.98023e-08, 0, 1, 0, 0, 0)
|
||||
collision_layer = 12
|
||||
collision_layer = 44
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 100
|
||||
|
||||
@@ -14,6 +14,7 @@ point_count = 4
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_mgm2i"]
|
||||
height = 8.481
|
||||
radius = 0.272422
|
||||
|
||||
[node name="CutterAlt" type="Node3D"]
|
||||
|
||||
@@ -29,13 +30,13 @@ _onHitSfx = ExtResource("3_v1t2f")
|
||||
_hitBox = NodePath("PathFollow3D/RigidBody3D")
|
||||
|
||||
[node name="PathFollow3D" type="PathFollow3D" parent="CutterShot"]
|
||||
transform = Transform3D(0.951515, -0.00127717, 0.307596, 1.16415e-10, 0.999991, 0.00415204, -0.307599, -0.00395073, 0.951506, 0, 1, 0)
|
||||
transform = Transform3D(0.951515, -0.00127716, 0.307596, 1.16415e-10, 0.999991, 0.00415203, -0.307599, -0.00395073, 0.951506, 0, 1, 0)
|
||||
loop = false
|
||||
tilt_enabled = false
|
||||
|
||||
[node name="RigidBody3D" type="RigidBody3D" parent="CutterShot/PathFollow3D"]
|
||||
transform = Transform3D(1, 0, -2.98023e-08, 0, 1, 0, 2.98023e-08, 0, 1, 0, 0, 0)
|
||||
collision_layer = 12
|
||||
collision_layer = 44
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 100
|
||||
|
||||
Reference in New Issue
Block a user