web oriented universal language

Physaxe : haXe Physics Engine

Posted on 2008-04-06 by Nicolas Cannasse in General

I'm please to announce the 1.0 Release of Physaxe : a haXe 2D Rigid Body Physics Engine heavily optimized for Flash Player 9.

A demo is always better than words, so you can play the following SWF, use 1-8 keys to change the demo and click to fire a block :

(if you want to check the real CPU spent by physaxe, you can press the 'D' key to disable drawing, which takes most of the CPU)

See the Physaxe project page for more informations.

Enjoy !

Nicolas

Comments

This is totally awesome Nicolas! Thank you.

btw: did you see the post about haxe on indiegamer?
http://forums.indiegamer.com/showthread.php?t=13240&highlight=haxe
Posted by jankoM , 2008-04-07 00:53:40
Excellent! It is very nice to have a physics kit based on box2d for haXe.
Posted by ryan , 2008-04-07 08:44:57
Toujours aussi fort Nicolas ;-)
Vraiment génial, merci pour tout ce boulot partagé :)
Posted by obiwan , 2008-04-07 10:36:23
Incredibly smooth and fast running. Great work nicolas!

Ralph.
Posted by Ralph Hauwert , 2008-04-07 19:26:29
Unbelievable! Great work!!
Posted by jankees , 2008-04-07 20:52:08
Great demo!
I see one of the cool next steps: porting <a href="http://puremvc.org/">PureMVC</a> to haXe :)
Posted by Rostislav Siryk , 2008-04-08 11:58:05
I love it! I could spend all day playing with this.
Thanks for sharing and keep it up!
Posted by Evan Mullins , 2008-04-08 19:01:30
Thank you!
Nicolas,
please look at http://bezier.googlecode.com/
use this classes for physaxe if needed.
Posted by iv , 2008-04-09 11:52:18
I'm going to break my mouse button if I play with this demo any longer. :P
Posted by beppu , 2008-04-26 07:59:53
is there a tool for converting 3d engine like away3d to .hx fromat so we can play a 3d game?
Posted by johnny101 , 2008-04-28 19:42:02
If you press 0 or 9 it starts outlinign the boxes and doign fnny crap
Posted by dwwdqw , 2008-04-30 21:20:16
I ain't too keen on these word games. I am from the sticks and I like to play with sticks. I am a stick
Posted by charlie , 2008-05-04 15:19:44
Does Physaxe run on the NekoVM, and if so, how well does it perform seeing it's optimized for flash9?
Posted by jux , 2008-05-04 20:41:58
Sympa, je pense que Nicolas Canasse à du tomber amoureux du projet PHUN, cela m'y fait méchament penser :)

En tout cas bonne chance !
Posted by Grégoire Passault , 2008-05-04 23:35:42
a good post, thanks for sharing this! i really enjoyed playing with the blocks and the changing form of the blocks! more please...
Posted by Teena Osorio , 2008-05-05 04:48:52
Hello!!
You have a very good site.I love It.
Keep up the great work.
Thanks
Jitendra
Posted by jitendra , 2008-05-09 12:45:06
great job!
Posted by Renata , 2008-05-09 13:43:55
Very nice, I spent over 30 minutes clinking like a mad man, I need a new mouse!!! :-)
Posted by TheMystical , 2008-05-11 00:12:58
guys, press nine, then any other number. it shows the boxes and stuff
Posted by jakub , 2008-05-11 04:56:38
Epic, straight to downloads.
Posted by Nightingale , 2008-05-12 20:22:00
I can't stop ;) love it
Posted by Renata , 2008-05-13 08:55:13
Awesome project! Will be checking the source code now.
Thanks a lot!
Posted by gamer , 2008-05-17 02:58:20
Amazing project. You start playing it and an hour later you realize that, well... an hour passed, when you thought that just 5 minutes passed. :-)
Posted by Bogdan , 2008-05-17 22:11:34
Brilliant.
Posted by vineetgupta , 2008-05-18 14:20:17
WTF!!! THIS IS AWESOME!!!
Posted by Shuiichiro , 2008-05-23 04:39:05
I've been able to get physaxe to cross-compile with the NekoVM using the OpenGL library. Performance is acceptable until there are a lot of objects colliding. Thanks for a great physics port!
Posted by heardtheword , 2008-05-23 19:10:40
I really liked playing with physics :)
Posted by ATOzTOA , 2008-05-28 13:38:24
Thanks to author! I like articles like this, very interesting. i really enjoyed playing with the blocks and the changing form of the blocks!
Posted by buy cheap tramadol , 2008-08-29 19:51:02
Just wrote a simple Game using physaxe :)
If you want give it a try:

http://curry.kigg.de/flash_game/
Posted by Flo , 2008-09-04 16:30:34
Hello,
Thank you for the great work.
Is there a way to customize the collisions.
I see that you have defined some interfaces but I can't figure how to use them to add new shape type and the custom collision pair code to manage it.
Could you provides some sample code please ?
Regards,

Mahn
Posted by mahn , 2008-10-07 13:48:37
Thanks a lot for this article... I've always just kind of winged it when it comes to citations.
Posted by Artur , 2008-10-16 21:21:56
Has anyone done a bowling version of this?

What board to start from, how much spin, type of oil on boards.

Serious bowlers would pay cash for that.

A pitcher of beer at an alley would feed you all the data you need. I tried it years ago but I was still on paper and pen.
Posted by Biff , 2008-10-18 03:54:41
im a bit of a physics junkie
this is pure awesome
i cant stop playing it, and its just a demo!
i cant wait until there are games using this engine available!!
Posted by matt , 2008-10-28 02:30:33
This no longer works for me. I see its highly geared for flash 9.0. I've upgraded to 10 and it does not work. I have a blank page.
Posted by Soctu , 2008-10-31 15:12:32
Thanks
Posted by Atenolol , 2008-12-03 23:37:13
.
Posted by HerBaL , 2008-12-03 23:39:59
This invisible game sucks.
Posted by john spartan , 2008-12-11 23:01:37
Thanks for sharing!
Posted by japanese karaoke songs , 2008-12-17 09:09:48
Fancy rings come in various sizes, shapes and patterns. Platinum jewelry in patterns that are exotic and new has gained a reputation of being classy. Platinum jewelry embedded with diamonds both small and large in unusual patterns is in vogue. Currently fancy rings that fuse yellow and white gold in trend patterns have grasped the attention of the stylish people.
Posted by stainless steel pendants accessories , 2008-12-19 10:41:41
Just let me explain how the compiler handles types (not the AVM) and why I think that also the int vs. Number tests are falsified very often.
Posted by Tamper evident labels , 2008-12-23 10:04:01
I like it a lot! Nice site, I will bookmark! <a href="http://sositesnova.com">tramadol online</a>
<a href="http://google.com">Google</a>
Posted by ulrich , 2008-12-24 12:00:37
Nice blog.. Very nice!
Posted by Georg , 2008-12-28 00:28:56
Great
Posted by Caduet , 2008-12-29 23:51:50
Yesterday, I started to micro-benchmark some of the most common operations in order to check what kind of thing is expensive and what kind of thing can be done fast.
Posted by stainless steel pendants manufacturer , 2009-01-04 10:36:14
Demo is down or does not work
Posted by Yuji , 2009-01-14 16:44:45
what a wonderful job,tks. i really love that.
Posted by diglove , 2009-02-14 15:58:00
I don't see anything; it's not loading(even when i refreshed (i'm the first to post this comment))
Posted by agl , 2009-02-24 11:00:51
how the hell do i start this crp?
how
how
how
how
how
how
how
how
how
how
Posted by agl , 2009-02-24 11:19:21
When you don't see a thang happening here, it might be your v10 plugin. This seems to be optimized for v9.

This demo is cool. But physics stuff can be done for many many years in multimedia authoring-scripts. Like with Havok- and Intel-scripts within Shockwave Director, tze bigger brother of Flash. That said, haXe looks good.
Posted by Amsterdam , 2009-03-25 05:25:15
Great !
Posted by Unibet poker , 2009-05-14 20:27:15
Interesting, thanks !
Posted by Titanpoker , 2009-06-07 16:08:17
types (not the AVM) and why I think that also the int vs. Number tests are falsified very often.
Posted by Online high school , 2009-06-15 08:24:40
some of the most common operations in order to check what kind of thing is expensive and what kind of thing can be done fast.
Posted by Home school diploma , 2009-06-15 08:26:14
n order to check what kind of thing is expensive and what kind of thing can be done fast.
Posted by Online GED , 2009-06-15 08:28:00

Post a comment

Name:
Email:
Url:
Security: Please enter 8354 here.
remember me
Comment:
 
 
Haxe Powered Rss flux Valid XHTML 1.0 Valid CSS