Deviant Login Shop  Join deviantART for FREE Take the Tour
×



Details

Submitted on
December 18, 2012
Image Size
100 KB
Resolution
390×300
Link
Thumb
Embed

Stats

Views
512
Favourites
26 (who?)
Comments
16
Downloads
7
×
man it feels good to code again.

So I've had this idea for a long time. One of my favorite eps of TBBT is the ballpit when Sheldon goes nuts. So here's a game on that. It's short with a scaled difficulty.

enjoy!

Sorry, sounds don't work for this version.
Sounds version on my website: [link]

If other coders know how to fix my sound issue, pls let me know. I stream all my sounds. They aren't embedded in my swf. I've tried both local and network security settings. Sound works great everywhere EXCEPT here :(
EDIT: Fixed! Thanks so much
Add a Comment:
 
:icondig4bugs:
Dig4bugs Featured By Owner Jan 24, 2013  Hobbyist General Artist
Its so fun!!! I got 490 first try.
Reply
:iconjdrawer01:
Jdrawer01 Featured By Owner Dec 21, 2012
500 Points. Is that good?
Reply
:iconleaf-nin:
Leaf-nin Featured By Owner Dec 22, 2012  Hobbyist Traditional Artist
You're a fast clicker :)
Reply
:iconjdrawer01:
Jdrawer01 Featured By Owner Dec 23, 2012
8)
Reply
:iconaralicia-moran:
Aralicia-Moran Featured By Owner Dec 20, 2012
Hi !

I've looked into your sound issues. The root of the problem is that you are using relative paths ("bazinga.mp3", without website url). Because of that, the game on dA is trying to load "http://sandbox.deviantart.com/bazinga.mp3", and this file doesn't exists. To stream sounds on dA, your sound files must be hosted somewhere else (like your site) and you must access them ingame through their absolute URL (http://futureuent.elementfx.com/fan_games/bazinga.mp3).
Note that, since you'll be trying to load a file that is on a different server than the swf, you need to resolve the crossdomain issues by having a valid crossdomain.xml at the root of your website.

Or.... you could just embed your sounds. They amount for a gran total of 37ko, so streaming them is pretty much useless. They'll be more reactive if you embed them, too, since there would'nt be a need for loading requests.
Reply
:iconleaf-nin:
Leaf-nin Featured By Owner Dec 20, 2012  Hobbyist Traditional Artist
I appreciate the in depth help! I updated the swf to load files from the network and it works great!

Since the Sheldons are spawned via code (and animated), I hadn't found a good way to dynamically load symbols/sounds/etc from the local library (in code, rather than on the timeline). Normally I load from a separate library/swf, but for small games like this, that seems a bit excessive. Do you happen to have any sites/advice that might send me in the right direction of how to get things from the main library?
Reply
:iconaralicia-moran:
Aralicia-Moran Featured By Owner Dec 21, 2012
I'm replying using only my (somewhat faulty) memory, since I haven't a Flash IDE on hand right now, but I think that the method to use a sound from the library is :
- add the Sound file in your library, but not on your timeline (obviously)
- right-click->properties on the sound, and activate "export for actionscript". Give it the classname you want (for example : BazingaSound).
- you can then instantiate it in you code. It is an inheritance of the Sound class :

    var mySound:Sound = new BazingaSound();
    mySound.play();

And that's it.
Reply
:iconleaf-nin:
Leaf-nin Featured By Owner Dec 22, 2012  Hobbyist Traditional Artist
wow it really is that simple. I was somewhat thinking there would be some backwards way I had to load it (or some bizarre media player to handle it). Thanks!
Reply
:icongeli-k:
Geli-K Featured By Owner Dec 19, 2012  Hobbyist Digital Artist
It froze up, but until then I got 330
Reply
:iconleaf-nin:
Leaf-nin Featured By Owner Dec 20, 2012  Hobbyist Traditional Artist
Can you tell me more about how it froze up so I can fix it?
Reply
Add a Comment: