Physics Engine Demo v2 by jigajigajoo



Author & File Information


Submitted: 06/04/2009 | 12:01AM EST

File Info: Game | 7.7 KB | Add Game to Favorites

Current Score: 2.52 / 5.00

433 votes | 1,931 views

Click an icon to vote on this!

You are not logged in.


Related Submissions

Submissions by jigajigajoo:

Users who liked this also enjoyed:


Author Comments

This is version two of a physics toy built around a physics engine I built from the ground up in actionscript 3 (no Flash). I increased the speed and amount of bullets being shot, so don't shoot too many, or you'll crash your browser. I'm working on using my physics engine to create a CPU benchmark in flash.

Also included is the frames per second (in the upper-left corner). The fps doesn't start to really dip (starts at 30) until around 1000 objects. Number of bullets onscreen is upper-right corner.

Any words of advice for creating games around a physics engine like this is appreciated. I welcome your flaming too. Only proves the stupidity of the interwebs.

Controls/Tips:
Click around to fire bullets. Watch them bounce around the walls. If you hold it down for a while, and then watch, it is pretty mesmerizing.

And yes, my physics engine does fit into 7.7 KB.

13 reviews | Log in to write a review | Share this!

The people have spoken

Average Score: 6.8 / 10

Score: 10
DJ-xTc

"Well done engine"

by: DJ-xTc
date: August 1, 2009

this is great, I couldnt get it to 1 fps =P and i went all the way to 4000 balls. I like the first one better because theres not that much lag. the new gauges are cool and a good idea. if you make a 3rd version you should add more colors or an animated backround so that it will look wierd when the balls bounce around xD.

10/10
5/5

~xTc~

Rate this review:
Helpful!
Useless.
Flag as abusive.
People find this review helpful!

Score: 9
b0b3rt

"FPS Testing"

by: b0b3rt
date: July 29, 2009

Started averaging at 30 FPS. Stayed that way till around 650. At 750, went down to ~25 fps. At 800, it was about 23. 900 put it at 20/21 fps on average. Didn't test it past that. Put it collisions =D

Rate this review:
Helpful!
Useless.
Flag as abusive.
No users have weighed in on this review.

Score: 2
CastleClock

"If it does nothing, don't submit it."

date: June 4, 2009

It seems to be that all you do is click to spray extremely bouncy balls that aren't affected to gravity. I could make that.

June 5, 2009

Author's Response:

Ur right. go make it and prove me wrong.

Rate this review:
Helpful!
Useless.
Flag as abusive.
People find this review helpful!

Score: 4
robin1232

"performance issues"

date: June 4, 2009

if you want it succesfull you shouldnt need a quad core cpu to play this!
I have intel core 2 duo x 2! it runs crysis with less lag than this!!!

June 4, 2009

Author's Response:

well, #1, flash = high-level = EPICMAJORFAILSOFOMGWTFROFLBBQWHY!?!
so cpu usage in general sucks balls. Flash is known among programmers as being incredibly inefficient compared to, say, java or c++.

#2 flash is known for NOT being multithreaded. so it only runs as fast as your first core. so quad/dual means nothing. if anything, quad runs slower (slower clock speed).

#3, i can play this on core 2 duo just fine.

for all that, i do appreciate your criticism. the whole point of my physics engine is to run quickly; if it is running slowly, that is Bad. im curious, however, how many objects u had on screen at once, and what the framerate was at that point.

Rate this review:
Helpful!
Useless.
Flag as abusive.
People think this is a useless review.

Score: 5
MisterMadDog

"Performance Issues"

date: June 4, 2009

I don't know about action script but there's really some performance issues that need to be solved. Frame rate is starts fallin down when you create too much green things.

June 4, 2009

Author's Response:

well. the performance seems to not go below 27ish on my 4.1ghz core 2 duo until around 1000 objects onscreen. so obviously if you're running this on a shitty computer (ie laptop) and much fewer objects will slow the swf down.

and fyi this is a *demo*. What i mean by that is that it's unlikely that i will ever have 800 objects onscreen at once (think about any game like that in recent memory). Again, using this as a CPU benchmark is an idea, measure the average fps, etc.

Rate this review:
Helpful!
Useless.
Flag as abusive.
People find this review helpful!