Shop Mobile More Submit  Join Login
"Heavy, man!"

- Click and drag your mose across the inner screen to generate circles. Cancel by dragging it back to the destination point.
- Click at a circle to select it. The sliders will adjust according to its data, and so will the checkboxes.
- Drag a circle across the screen and release to throw it around.
Top-Left Slider: Radius.
Top-Right Slider: Density.
Right-Top Slider: Elasticity.
Right-Bottom Slider: Restitution.
Bottom Slider: Global x-axis gravitation.
Left Slider: Global y-axis gravitation.

Top-Left Checkbox: Global y-axis gravitation active/deactivated.
Bottom-Right Checkbox: Global x-axis gravitation active/deactivated.
Top-Right Checkbox: Whether the selected circle reacts to collisions or not. It still will react to other circles if their collision is set however! [BUG]
Top-Middle Checkbox: Whether the selected circle is static or not. Static circles will not be affected by impulses or gravitation.
Right-Middle Checkbox: If the selected circle is used for gravitation. Once set active, other circles will be attracted to that circle simulating REAL gravity.

Bottom-Left Button: Deletes the currently selected circle.

This does not use a Flash Physics Engine of any kind! Everything was done by me, from collision resolving to virtual gravitation implementation.

Soo, this is just some small hopefully interactive I came up with a few months ago.
I temporarily gave this up due to some seemingly unsolvable trouble concerning the collision resolving, until just yesterday I suddenly remembered this and also instantly knew where the error was.
So this night I quickly edited a few parts and - done!
Even though some problems I remember from back then are yet unsolved, I am quite happy to see the result - though its more like I am happy to see any result at all.
And I am NOT happy that I had to see the way this was done once more.
But hey, I realised I learned more than just a bit these past moths. Man, the code of Gravity is sloppy, slow and buggy.

Yes, I know there still is trouble with the Physics.
I already said it has it's bugs, but I certainly won't dig myself into that sticky, slimy mess of code I did there.
This is the final version.

I'd still be happy about reviews, of course, as well as suggestions, ideas and even bug reports, if they contain anything new.
Add a Comment:
VulcemTheLoneWolf Featured By Owner Sep 7, 2012
Two could play a game of Air Hockey with this. xD
FecarytheLion Featured By Owner Sep 7, 2012  Student General Artist
Yeah, if one could affect some sort of racket with the mouse xD
shangerz Featured By Owner Sep 6, 2012
Cool :thumbsup:

I quite suck at actionscripting. I can do 2 a liitle but not 3 that much... I love making games though :)

You script well.. Respect :D :thumbsup:
FecarytheLion Featured By Owner Sep 6, 2012  Student General Artist
Thanks ^^

Yep, games are awesome to make, be it by pure ActionScript3 or using Flash and it's functions. As long as the result is awesome :'D

Thanks again, I appreciate that, but yet I got to say that what I did there was less good script and more understanding of physics.
shangerz Featured By Owner Sep 7, 2012
Yep, there aren't any places where I live that teaches Flash to the level of making your own games, also no companies that make games..

The few games I've made, I just taught myself the basics of actionscript and stuff. I think up a lot of ideas, concepts, characters for games but I don't always have the time or knowledge to make them..
FecarytheLion Featured By Owner Sep 7, 2012  Student General Artist
Neither there is anything about that here.
All we learn in school is ther very basics of Java (booooring), but other than that you can't find any programmatical education.

Well, ideas and concepts are worth nothing ;D
Not even if you can programm it yourself all alone.
Only if you got the whole thing working you'll find people ready to spend their time and effort on a project of yours.

Well, I do have the time and knowledge, but a lack of willpower xD Normally I simply don't finish anything because I always find something else to do but to work.
shangerz Featured By Owner Sep 10, 2012
Haha yes I know what you mean :XD: I never used to finish anything either.. But there was a game I started and put so much effort and work into it that I HAD to finish because I didn't want all that time to be wasted..when I eventually completed it, it was over a years worth of work :faint: haha
rgbwizard Featured By Owner Sep 6, 2012  Hobbyist Artist
Cool thing!
FecarytheLion Featured By Owner Sep 6, 2012  Student General Artist
Thanks ^^''
Add a Comment:

:iconfecarythelion: More from FecarytheLion


Submitted on
September 6, 2012
Image Size
57.7 KB


372 (1 today)
4 (who?)


Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.