Stencyl 3.4.0 is now out. Get it now!

SFXR Stencyl v1.1 [Extension]

GeorgeN

  • Posts: 859


Create Sound From String
Create a sound from a string.



1. Make your sound on http://www.superflashbros.net/as3sfxr.
2. Right click->copy
3. Paste the string in this block.
4. Put a name for the sound.
It will look like below.



Create Random Sound
Create a random sound.


Play Sound
Play an existent sound.


Mutate Sound
Change the sound a little. (the sound have to be created first)


Delete Sound
Delete an existent sound.


Example:


*This extension is just for flash.
*Is perfect for retro games and not only.
*Try not to create and mutate sounds on allways block or where the mouse/key is pressed (it will get laggy).

As usual feedback is appreciated :)

« Last Edit: July 24, 2014, 09:55:52 pm by GeorgeN »

Leaufai

  • Posts: 327
For clarity's sake, perhaps change the mentions of Sound with SFXR Sound. So that people don't assume it's to be used for regular sounds (unless it is).

Jay123

  • *
  • Posts: 153
that's amazing i've always used SFXR for my sound effects with this i can see the huge potential !

thanks !
 :D
I feel like i'm stuck in groundhog day - same code, same pc, same shite... no retreat, no surrender yaa !!!

GeorgeN

  • Posts: 859
For clarity's sake, perhaps change the mentions of Sound with SFXR Sound. So that people don't assume it's to be used for regular sounds (unless it is).
You can't plug normal sounds there just strings. The Sound blocks from stencyl are red, these are green. If they will cause confusion i will change them but i doubt that.

that's amazing i've always used SFXR for my sound effects with this i can see the huge potential !

thanks !
 :D

Small swf sizes and sounds created on runtime when you need them. To bad i don't do flash games :(

MetalLord

  • Posts: 15
Does this work in 3.0 ?
im getting thsi error

Unexpected problem on thread Thread-22: null
java.lang.NullPointerException
   at stencyl.sw.io.write.resource.HXWriter$HXError.toString(HXWriter.java:134)
   at stencyl.sw.io.write.resource.HXWriter.checkErrors(HXWriter.java:2677)
   at stencyl.sw.io.write.resource.HXWriter.parseForErrors(HXWriter.java:2618)
   at stencyl.sw.io.write.resource.HXWriter$6.run(HXWriter.java:2785)
   at stencyl.sw.util.StreamGobbler.run(StreamGobbler.java:107)

GeorgeN

  • Posts: 859
Does this work in 3.0 ?
im getting thsi error

Unexpected problem on thread Thread-22: null
java.lang.NullPointerException
   at stencyl.sw.io.write.resource.HXWriter$HXError.toString(HXWriter.java:134)
   at stencyl.sw.io.write.resource.HXWriter.checkErrors(HXWriter.java:2677)
   at stencyl.sw.io.write.resource.HXWriter.parseForErrors(HXWriter.java:2618)
   at stencyl.sw.io.write.resource.HXWriter$6.run(HXWriter.java:2785)
   at stencyl.sw.util.StreamGobbler.run(StreamGobbler.java:107)


Give it a try now.

MetalLord

  • Posts: 15
Does this work in 3.0 ?
im getting thsi error

Unexpected problem on thread Thread-22: null
java.lang.NullPointerException
   at stencyl.sw.io.write.resource.HXWriter$HXError.toString(HXWriter.java:134)
   at stencyl.sw.io.write.resource.HXWriter.checkErrors(HXWriter.java:2677)
   at stencyl.sw.io.write.resource.HXWriter.parseForErrors(HXWriter.java:2618)
   at stencyl.sw.io.write.resource.HXWriter$6.run(HXWriter.java:2785)
   at stencyl.sw.util.StreamGobbler.run(StreamGobbler.java:107)


Give it a try now.

Its working now,thanks man.

Synthercat

  • Posts: 5
Great extension, any luck making this work for android too?

GeorgeN

  • Posts: 859
The library that this extension is using is made just for Flash.