Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No audio? #6

Open
tumut opened this issue May 21, 2021 · 1 comment
Open

No audio? #6

tumut opened this issue May 21, 2021 · 1 comment

Comments

@tumut
Copy link

tumut commented May 21, 2021

I ran compile.bat and I'm using the Windows "Flash Player projector content debugger" (downloaded here). The game seems to work fine in general except for the audio. Songs and sound effects don't play. What could be?

@Apesanteurman
Copy link

Hello,
I know the subject is a bit old but if you are still trying to find out how to put sound/music on the game :
In the "INSTALL_PATH\hammerfest-master\class\hammer\Loader.mt" file, you need to modify the constructor starting at line 80:

For lines :
Std.setVar(Std.getRoot(),"$sound", "0");
Std.setVar(Std.getRoot(),"$music", "0");

You need to set them to 1 :
Std.setVar(Std.getRoot(),"$sound", "1");
Std.setVar(Std.getRoot(),"$music", "1");

And now you should have the game's sounds and music

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants