Recent posts by SuperFlashBros on Kongregate

Flag Post

Topic: General Gaming / Problem with Haunt the House

Sorry you had problems :( Is it completely fixed now? Not much I can do if it’s something external, but if there’s something I can suggest to anyone else who gets the same issue, I’d love a rundown of what you did to fix it :)

Not me burying by the way!

 
Flag Post

Topic: Game Programming / Decimal Problem

Sadly Flash isn’t always accurate when dealing with floating point numbers.

trace(0.1 + 0.2); // traces 0.30000000000000004

There’s really not an awful lot you can do about it, apart from working with ints until you need the decimal, and only then divide by 100 or whatever

Tom-

 
Flag Post

Topic: Game Programming / Free sound effects for all!

No, as I understand it, you only put a copy of the license in the source code if you’re going to redistribute it. For exaple if you took the code, made some changes then put that code up on your own googlecode project, that’d be ok as long as you included a copy of the license.

If you’re just going to use the code in a game, no credit is needed (although a small one would of course be nice!)

Glad you’re all liking it :)

 
Flag Post

Topic: Game Programming / Free sound effects for all!

The save/load is separate from the copy/paste. You can save your settings out as an sfs file, then load them back in, or copy out the settings as a string and paste it back in. The two aren’t compatible. Files are for saving sounds you like, copy/paste strings is for easy sharing of sounds

Glad you like it though!

(Attack time is the fade-in slider, less time means less fade-in)

 
Flag Post

Topic: Game Programming / Free sound effects for all!

Hey guys,

In my spare moments over the last week or two, I’ve been porting the excellent sfxr by Tomas Pettersson into AS3, and it’s finally done!

If you haven’t used sfxr before, it’s a really neat app that lets you generate your own custom game sound effects, using the same kind of synthesizers that the classic consoles used. When you’re done tweaking the sound, you can save it out as a .wav ready to import into Flash

I’ve added a few features into my version, like history buttons and copy/paste functionality, but everything from the original is there too, even the .wav export feature!

Play around with the app here: http://www.superflashbros.net/as3sfxr/

Even better, I’ve made it open source too, so you can use the synthesizer in your own code. That means for roughly 10kB, you can have as many sound effects in your game/movie as you like, without adding more filesize for each one. Check out the google code description page for a very simple demo of how to use SfxrSynth in your work, and to download the source code.

Google Code project here: http://code.google.com/p/as3sfxr/

AS3, FP10 only though I’m afraid

Tom-