New Physics Stress Test

This forum is currently in read-only mode.
From the Asset Store
Relax and relieve stress by popping bubbles in Fidget Anti- Stress Releaser!
  • <img src="http://img180.imageshack.us/img180/2112/physicsxh4.png">

    This should be a fairly decent demonstration of the processing power of the new Box2d physics now replacing the Newton physics. In Newton I get 40fps, in Box2d I get 400 fps.

    We've tried to make the cross over from Newton to Box2d unrecognisable..It's simply a case of open your old cap that has physics in it and oh cool its 10 times faster! Forces and everything get scaled so your games shoudn't behave too much differently from before...though keep in mind it is a different physics engine...anyway we'll see how it goes

    Once any 'cross over' bugs have been fixed we'll impliment more of Box2d's features...and before long we'll have ragdolls being hung from springs which break if under too much tension etc etc etc.

  • Umm i got 700 at start then 200 when everything stoped.

    And about "Custom Collision" i though Box2D didnt have that :/

  • Box2d has come a long way since it just supported boxes. Originally we were going to use chipmunk but then we discovered it doesn't handle elasticity all that well (elastic stacks dont rest).... Box2d seems to support everything chipmunk does as well as supporting sleeping bodies and seems to handle everything okay...plus it has support for sweep collisions, more joint types... and stuff! ... it just seems fancier.

    Anyway it supports convex polygons and compound shapes (where u make a physics body out of multiple shapes)...so yeah it will support custom collision eventually

    Interesting that the fps dont jump back up when all the objects are resting... maybe sleeping hasn't been activated... hmm!

  • I even tried if the moving objects are the reason for this, thats why i changed .cap a little to wrap these objects, and after a while it was ~200fps.

  • Wow! That runs smoothly even on my p3 600 mhz machine! Nice!

    178 start, 45 settling here, then when everything stops it goes up to 70.

  • Anyway it supports convex polygons and compound shapes (where u make a physics body out of multiple shapes)...so yeah it will support custom collision eventually

    Hell yeah, I'll be able to make a pinball game after all!

  • Groovy, starts at 555fps, then drops to 478fps while resting.

  • piii

    932MHz

    256MB ram

    i get around:

    180~200fps at the start

    60~70fps while it's settling

    80-100fps after it's finished settling

    30~50fps after vigorously moving the window around*

    *after moving the window around, it is possible to cause all movable objects to either further fill in the open spaces or bounce upwards before ultimately falling back down

  • Physics doesn't seem to like low framerates. http://www.scirra.com/phpBB3/viewtopic.php?f=16&t=1373&start=0&st=0&sk=t&sd=a

  • That is incredibly amazing, doesn't even require any events

  • Yeah thats what I like about Construct...u can achieve awesome stuff with little to no eventing

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I made it die

  • U found a bug

    <img src="http://img387.imageshack.us/img387/6708/crashlk3.png">

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)