![]() |
Multiple sounds seem to have issues - Printable Version +- 2DWorlds Forums (http://2dworlds.buildism.net/forum) +-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4) +--- Forum: Bug Reports (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=23) +--- Thread: Multiple sounds seem to have issues (/showthread.php?tid=9357) Pages:
1
2
|
Multiple sounds seem to have issues - Qwertygiy - 05-18-2012 I created a new sound in the Script Builder while one was playing, and it stopped playing the old one. I then tried playing both at once (both mp3s) and the first would cut out right after the second started, while the second would play a bit scratchily for a few more seconds before going out. When in the editor, this pops up in the output: java.lang.NullPointerException at a.a.b.a.a(Player.java:82) at net.buildism.object.Sound$4.run(Sound.java:145) at net.buildism.object.Sound.run(Sound.java:218) at java.lang.Thread.run(Unknown source) RE: Multiple sounds seem to have issues - Latinxassassin - 05-18-2012 I think the script immediately executed the first sound and play the second sound since it's the last sound you inputed... RE: Multiple sounds seem to have issues - Qwertygiy - 05-18-2012 What I mean is sound1:play() then wait 5 seconds sound2:play() won't work. RE: Multiple sounds seem to have issues - Latinxassassin - 05-18-2012 () <----- I think the number is suppose to go in the parenthesis... RE: Multiple sounds seem to have issues - Franco30557 - 05-18-2012 (05-18-2012, 08:00 PM)Latinxassassin Wrote: () <----- I think the number is suppose to go in the parenthesis... A number never goes in play(). RE: Multiple sounds seem to have issues - Latinxassassin - 05-18-2012 (05-18-2012, 08:01 PM)Franco30557 Wrote: A number never goes in play(). Then it seems the Java language is illogical... RE: Multiple sounds seem to have issues - Franco30557 - 05-18-2012 (05-18-2012, 08:02 PM)Latinxassassin Wrote:(05-18-2012, 08:01 PM)Franco30557 Wrote: A number never goes in play(). You mean Lua... RE: Multiple sounds seem to have issues - Latinxassassin - 05-18-2012 (05-18-2012, 08:04 PM)Franco30557 Wrote: You mean Lua... Oh yeah, I thought Java was a program like Lua... RE: Multiple sounds seem to have issues - Dignity - 05-18-2012 (05-18-2012, 08:07 PM)Latinxassassin Wrote:(05-18-2012, 08:04 PM)Franco30557 Wrote: You mean Lua... What...? RE: Multiple sounds seem to have issues - Franco30557 - 05-18-2012 (05-18-2012, 08:07 PM)Latinxassassin Wrote:(05-18-2012, 08:04 PM)Franco30557 Wrote: You mean Lua... Last time I checked, Java and Lua were 2 different languages. |