Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Installing Sounds?


tamanor
 Share

Recommended Posts

You want to subscribe to the SoundLoadEvent. Then use the SoundPoolEntry constructor that takes an URL as its argument. Give it the URL to the sound in your Zip file. (Class.getResource is what you should look at).

Then you can register it normally like in any other sound loading tutorial.

Link to comment
Share on other sites

i beg to differ with that, i learned programming via modding, and i can now program quite well...

Exceptions prove the rule. Most modding beginners that haven't programmed any before (not even non-java) mod by copy-pasting tutorial code. That is NOT programming. Not in the least.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.