Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public void onModuleLoad() {
- //Lots of stuff omitted
- rm.addImage("images/GUI/blue/title-bar-right.png", "images/GUI/blue/title-bar-right.png");
- rm.addImage("images/GUI/blue/title-bar-left.png", "images/GUI/blue/title-bar-left.png");
- rm.addAudio("wombo", "audio/wc.wav"); // <---
- }
- public void doResourceManagerLoadComplete() {
- //Lots of stuff omitted
- engine.getResourceManager().getAudio("wombo").play(50); <--- plays the audio at half volume
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement