0 votes

When I export my game, the shooting command doesn't work even though it does work in the engine. The screen shake works but a bullet doesn't spawn and there's no sound. Why would this be happening?

Godot version latest
in Engine by (12 points)

try
look
Project/Project setting/Debug/Gdscript

And then run it check for errors

How are you loading the resources used? If you are not loading them using the "res://" path, then although it works fine through the editor it wont work after you export.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.