Tuesday, March 24, 2009

Brik - with my Entity and Object Framework

Brik in my DaksFramework on top of love from love2d.org

Crappy low frame rate video...

This took about 2 hours to implement using my entity and object management system. I had to extend the framework to allow support for restitution (bounce) and surface smoothness.

The briks get mass only when the ball collides with them which then allows them to drop gracefully to the floor where a ground collision destroys them.

You can see the consol in action too! 

*DaksFramework does not support the use of the letter C in any of its application names.

No comments:

Post a Comment