Flash Physics Toy
by LuizZak
Flash Physics Toy
Tags for Flash Physics Toy
Description
This is only a toy I was developing over my free time.
This has only a basic physics engine, so, no collisions yet. Sorry guys :/
To share simulations, I suggest using pastie (www.pastie.org), and then sharing the pastie link.
Sorry for the messy instructions, but Kongregate ate my paragraphs!
FAQ:
Q: There's a bug! What do I do?
A: Please, report the but using the bug report button at the right side of this description. Your help to find bugs is really apreciated and makes me step further to develop this nifty toy.
Q: I can't see the output code!
A: Please, make sure the font Courier New is installed correctly on your computer.
Q: Some strange characters appear when I compress the code, now I can't post it nowhere!
A: Try using the uncompressed version.
How to Play
Use the mouse to select the tools you which and edit the simulation over the canvas.
Tools description:
"Particle": A basic particle
"Joint": A constraint that link particles together
"Spring": Like the joint, but with a springy effect
"Edit": Use this to edit Particles' positioning. Click on a Spring to open the spring box and edit the spring stiffness.
"Selection": Use this to select a bunch of particles. Use the delete button (the keypad one, with the comma) to delete the selected particles.
Buttons:
"Options": Use this button to show the opstions dialog. Currently, the only things inside it are the grid options (grid spacement, show grid..)
"Load/save": Load/Save a simulation to the computer. NOTE: This is NOT cross-site. it means that you cannot load a simulation saved through another site here. This is a Flash security measure.
"Play/Edit": Play the Simulation / Go back to edit mode
'Load this": Paste the desired simulation in the "output code' textbox and click here to load this simulation in the edit mode.
"Copy to Clipboard": Copy the current simulation to clipboard.
--
Keyboard:
C (sim mode): Show/hide the joints
Space: Toggle simulation/edit mode
CTRL (hold): Toggle delete mode, click on particles/joints/springs to delete them
SHIFT (hold): Toggle drag mode, use it to drag particles around (edit mode)
Developer Updates
- fixed a small bug when trying to paly a game from a compressed code.
- 4.0:
+ Added FULL LZW string compression algorithm support, much more simulation, with much less save code!
- 3.8:
- 3.7:
+ MochiBod added
- 3.6:
+ Little improvement over the grid code*** 3.5:
+ Using new engine, much faster simulation!
+ Now the user is asked if he really want to delete a simulation from the Load/Save dialog
+ Double clicking a simualation on the Load/Save dialog loads it
- 3.4:
+ Added the abiliy to hide the particles during the simulation using the âXâ key
- 3.3:
+ Now you can drag multiple particles around using the selection tool
- 3.1.3:
+ Now clicking outside the color picker box disables the polygon tool and return to the last tool selected
- 3.1:
- 3.0:
+ Added a color picker for the polygon tool
- 2.9:
+ Added a (buggy) polygon tool
- 2.6:
Comments
01neverest10
May. 02, 2011
I love how a comment rated -1 is in the top rated comments
superdudo
Apr. 30, 2011
Nice game.
FirebirdBeats
Oct. 18, 2010
Wobbly Symmetry Thingy COMPRESSp,_JeRPk,170,76,3|Ä_crqOZ,5Ä19ÄÄÄmTriÄÄÄ04ÄÄÄpCHCJ,28ÄŠÄÄÄĢ_ZflsDÄ32Ä5ÅÄÄjMjpGIJ08ĞĺÄĒÄfLfcSÅÅ1ÅÅÄhqhZIÄŋÅ2ÅÅ _prFWqÄÅĨÄ4ÅĸFxoWnÄÅ3ÅąÅ_PhMDcÅšÄÅēĸtmByUÅŽÅÆÆÄÄÄÄÄÄ Ä161|ÆÆÄÄŦÄŽÄ°ÄÆÆÆÄ¯Äą_ÄĄÄŖÄĨÆŖÆÆŠÄ¤ÄÄÄÆĢÆsÄÄēÄŧÄž_ÅÅÅÄÄ0|ÆĩÆēÅÅÅÅÅÄÄ5ĮĮÅÅÅ_ÅÅ ÅĸÆžĮĮÅÅÅĄÆļÄģÄŊĮÆŋƤÄÄÆÄšĮÄž85Į ÆÄĮÆŧ,Į§Į ÄÆĻÄÆģĮ Į¯ÆĮąÆĄ_ĮĮĮļÄÆŽÄĮēĮÅĮŊƨÄĸƯĮĮÅĸČÆąÆĮ¤Æ¸ĮŽĮ¨ÆČČĮĮČÅŋÆÆÆÆÆ3ĨĮ ČÆÄŦÅĒÅŦÄČĮˇČ¤Å_Å´ÅļŸČ4Į ČŦŎÄČÆČĻȰĮČĄÆĮĄÆÅ7ĮČšÆČĸÅ¨Æ ÄąÅČŋĮÉČĮŗĮÅÆ1ÉČ´ÆČļČŧÆÉÉÅžÉČÆÄĨ5ÉĮÉČĮČÉÉČ˛Å¸ÆÆ˛ČžÉĻÅĩČŗČĮÆĸÉÉÄɧĮžČÉÉĮÅ¨ČŠÉļÆĒÉĢÉŗÉģÅĢČĒĮģÅÉĨĘÅŠĘÆĨÆĄÉĮ
timster568
Jul. 25, 2010
Try Out Mine!}
I Call It "I Wouldnt wanna be in the Center. 0.o"}
Here it is:
COMPRESSp,_AObmV,330,1Ä3|Ä_fFwQlÄÄÄÄÄÄGiduG,29ÄÄÄÄxElRXÄŖ7ÄĻÄÄHiOsEÄŖ5ÄąÄÄ_FRgARÄŖÄÄÄŧÄDcKnuÄŖÄħÄŊvGnKDÄÄĨÅĨÄgYoRdÄİÅÄŊZBebKÄÄēÅŖÄVjtsNÄÅ
ÅÄEfMacÄÅIJÄdVfgT,ÅÅĩÄDUprq,ÅĸÆ_NkNLr,ÅĢÆivmLtÄÄģÅ_WThNiÅÆDKUBÄŽ3Ä4ÅĸÆĄlnnGfĝįąÅžÆZmxÄ2Å
ÆģÅÄÄĄPMjů篞ÄŊiXhYŞ1ÅĢĮÆĄuykibÅŧĮÆŧrpkggÆĮĮ
_bBwLQÆ,Į|sÆÆĢÆÄÄÄÄ46ÄÄēĮąÄÆ´ÆļƸ_ÄĒÄŦÄŽĮēĮŧ0ĮžÆŊÆŋÄÄžÅÅĮ¯ĮģÆČĮ˛_ĮĮÄÅÅÅČČČĮĮŞ_ÅĨŧŊČĮŊČĮĮĮ_ÅˇÅšÅģȧČÄĮ ĮĸĮ¤_ÆÆÆČąČĮŠĮĢĮ_ÆÆÆČģÅģÄÄÄĮļÄÄÄŖČÉ
ĮˇÉ_ÄÄ Äĸ2ÉÄÄÄĄÄČÄÉ|É
ÉÄŽ_Ä´ÄļĸÉÉÄɪĎÄÄŋÅÅÉĻÉ
ÅÅÅČÉÉɰÅÅČÅÅÉļÅÅÅÉēČÉŊ_ČÉŧ_ÅÅŠɯɞĘÄȤōĘĘÅŠ_ÅŽÅ°Å˛ĘĘÅ¯ÅąÄČŽÅēĘĘÉ
ÆÆÆĘĘĸÆÆÆÆĘȸĘĒÆÆÆĘÆÆÆÉÆÆĘÉʡÆĸƤÆĻÉ
FirebirdBeats
Oct. 19, 2010
Spongy Goo COMPRESSp,_EBPjY,30,44Ä3|Ä_RZiUN,7ÄÄÄÄÄjFPsÄ11ÄÄÄÄ_qxnXc,15ÄĻÄÄARUgvİ9ĺčÄqkHNQ,2ÄÄħÄÄHqCLHÅ ÄÅÄ´ÄIwkOyÄÄĨÅÄžÄBXKPhÅÄ0Å_pTUdgÅÅĻŨFiaVPÅ ÅÄŨrCvkCÄģŰÅ_wVaDsİIJÄŧÆTZPSqİÅÅšÆEVZjdÄÆÅÄABppuÄÆÄŠlfGiAÆĨÄ6ŨnmdjeÆÆŽÅ¨YPvpfÆÄƯÆIXlÆ˛ÆÆŋÅēIEsÆ1ÄŧÆˇÆPXSjŎĮÆDnxGlůĮÆ_kijJÆŦ3Å3ĮÄÆ_ƨÆĒÆŦ_ÆąÆŗÆĩħIJ|ĮĢĮ௴įšÆģÆŊĮ´0ĮļĮēÆēÆŧÅĮĮ ĮžČ_ĮĮÆ_rĮĮÆ,ĮĩĮĢČĮČTĮĮČČÄČĮĮ_ĮĮĮČĮĢČĸĮÄĮĄĮŖÆŦČĨČŠĮĸĮ¤ÅÅĄÅŖČĮŋĮĢÅ ÅĸŤŊÅĢÅČ´ČÅĒÅŦÅŽ_ŞŴÅļČÉÅŗÅĩÄÅģÅŊÅŋÉÉÅžÄÆÆÆÉÉÆČÆÆČŊĮĢÆÆÆÄÆÆÉÄÆÆČÆ ÆĸƤÉÉ¨ÆŖÉ¤ÄÄÉŖÄɯÄÄÄÄÉąÄÄÄ_ÄÄĄÄÉÉŊÄĸÄÄĢÄįÉĘÄŽÆÄˇÄšÉąÄļĸÄēÄĒÅÅÉąÅÅÅ_ÅÅÅÉĘÅÅÅÅÉąČˇČŗČĘ ÅÉČŋČŧĘÅĘÉÉÉĘĘÉąÉÅŋ_ĘĘÉÆ ÉÄĒÄŦĘÉÉÉÉŧÄ ĘÉÉĨÉĸÉĩÉēÉąĮÆĢÆÆĄÉÉĮ¸ÆĩÉ ÉĻÉąĮģČ_ËÆÉČĮ ÆĘēÉÄČČČČĘ´ÉąČČÉÉɹȧĮČēÉËÆŠËËÉĸ57ČČĩËÉŠÄËČˡËĸËŊËÉÆËļ˸ČËČČËžĖĮĢËËĨÅŧÉĖ ËĸËĻËČĮĖËšĖČÄĘŠÅŽĖČžČģÉČĒȰĖĮĢËČËÆŊĖĨČĮŧÉËĖËĸÉČË¤Ė°ĖČČËĒÉĖĢĖšÅļČĄĮȨĖģËȹȸĖĩČÅÅÅ˯ČŧĖģĖĘĘÅĖģĘĘČĖÅŋĖģĖĘįÍĘŊįĖÉÍ ÉĖÄɚɡĖģͤÉģÉŦƤĖģÄÄ É´Ė§Í É¤ÉĄČĘÄĖģÍ´ĖŽÉͰËÍšĘļĘÄēĖģʡĘƝÅļĖģÎÄĘÅĖģÎÍČŗĖ