12 October, 2008

Math and Fantastic Contraption Levels

One of the possibilities made accessible by the FCML import feature is the creation of levels using more accurate methods. While writing levels by hand with your text editor is one way, writing a few scripts to do it is easier, provided that you know some programming. With a simple application of tan(x), you have a interesting looking level (although that one in particular is only a test). Combining the equation of a circle, its derivative, and some trigonometry, you can create a level with a mathematically perfect circle. Don't fret though; you won't need to program anything to make use of any mathematics, at least least for circles. When FC Resource is up, you will be able to use a handy circle generator for your levels. Beyond this, however, are other possibilities.

User jtbowden has worked on an TinySVG to FCML converter that makes level designing a much easier and more accurate process. TinySVG is a "vector" format—it stores an image as the composition of shapes, rather than the specific color of a specific pixel. Hopefully, when jtbowden is able to clean up his script, you will be able to make use of it on FC Resource!

No comments: