Flamingo Dev Log

Archive for the ‘Updates’ Category

Boring Status Update 1

leave a comment »

Sorry there haven’t been updates in a while, I’ve been bogged down with schoolwork. I haven’t given up this project, however, and there are some great new updates and ideas floating in my head.

The fmath module was performing extremely slow, so I decided to rewrite it in C. There will be other modules written in and ported to C later, so this was some good practice. The port isn’t completely done, though; There is support for Vectors and Polygons, but not Rects, and there is no documentation yet. I’ll probably need to optimize it a bit more. The demo doesn’t work correctly yet with the C module because Rects aren’t implemented yet, but you can still build it by running this in the installation directory:

python setup.py build_ext --inplace

There won’t be more updates until at least a few weeks from now. After finals I’ll have more time to work on the project.

Advertisements

Written by bradzeis

May 18, 2010 at 8:59 pm

Posted in Flamingo, Updates

Flamingo Update: fmath (mostly) done

with one comment

Sorry about the lack of updates, I’ve been swamped with school. Don’t expect anymore soon, I’ve got finals next week. But after that I’ll be an evil little code monkey for two weeks (what else would I do with that Christmas break?).

In the spare moments I have had, I’ve churned out some very useful stuff: the fmath module. It has all the usual math functions a 2d game could ever need (distance, distance squared, polyline simplification, etc) and a 2d Vector class, which is invaluable for the engine.

Head on over to the repository to check out the latest version. The library won’t work correctly if you just download everything to the installation directory. You need to add the installation directory to PYTHONPATH or navigate to the directory (usually Python26\Lib\site-packages\flamingo) and type:

svn checkout http://flamingoengine.googlecode.com/svn/trunk/flamingo "" flamingoengine-read-only

I should probably setup the repository more conveniently in the future, but that’s for another time.

Written by bradzeis

December 6, 2009 at 4:19 pm

Posted in Flamingo, Updates