Sorry, now I added the screenshot.
Diving Dev
Creator of
Recent community posts
Go through your daily routine on a bunch of floating islands, it's normal for you. Jump, try to fish and go back home.
But things can get chaotic and nightmarous very fast. Sometimes a habit can turn into something you need to survive.
Sometimes you need to use a gun.
If you are interested in a pixel platformer with a twist then check out: Floating Flow.
Game Page :https://diving-dev.itch.io/floating-flow
And by the way it's free.
Thank you so much for your feedback, it means a lot. About the distorted sounds I thought it would be fitting for a horror game thats why I kept it that way. Also, there are a couple walls I hit while making the game and I couldn't understand why, like the secret notes that take you to two 2D levels if you find them, but it makes sense now how out of place the first 2D level was. And again thanks for the comment.
Hey everyone, I was working on my game then I hit a wall, the shooting delay and reloading is not working, even though I followed everything in a tutorial but it just doesn't work. Here is the part of the code:
if Input.is_action_just_pressed("shoot primary") && can_shoot == true && current_ammo > 0:
can_shoot = false
current_ammo = current_ammo - 1
$"Head/Camera3D/SpringArm3D/retro shotgun/reload timer".start()
$"Head/Camera3D/SpringArm3D/retro shotgun/AnimationPlayer".play("shot animation")
var bullet_instance = bullet.instantiate()
bullet_instance.position = pos.global_position
bullet_instance.transform.basis = pos.global_transform.basis
get_parent().add_child(bullet_instance)
$"Head/Camera3D/SpringArm3D/retro shotgun/handle/GPUParticles3D".emitting = true
$"Head/Camera3D/SpringArm3D/retro shotgun/handle/GPUParticles3D2".emitting = true
elif current_ammo <= 0:
can_shoot = false
$"Head/Camera3D/SpringArm3D/retro shotgun/reload timer".start()
$"Head/Camera3D/SpringArm3D/retro shotgun/AnimationPlayer".play("reload animation")
else:
can_shoot = true
func _on_cooldown_timer_timeout():
print("aaaaaaaaaaa")
I would appreciate the help.


