Archive for the ‘Ring IDE’ Category

Full support for FBM files in fenixlib

April 11, 2007

These days I’ve been working hard to give support for all kind of FBM files, which means that the library is able to load and save fbm -animated or not- files.
I had some problems when testing the fbm generated because Fenix didn’t load them correctly but I reported the problem to Juan (the unique current developer of Fenix) and he fixed it.
I also add support for 1bpp files but this files do not worky properly in Fenix so I disabled it.

On the other hand, the project was finally accepted in BerliOS and now the project page is available. There aren’t many things yet but I’ve set up an SVN repository so you can now download fenixlib more recent sources.

Finally, thanks to my brother now I have a logo for the project

fenixliblogo300

I really like it ^.^. You can also see his other desings in his personal page.

More on fenixlib

April 4, 2007

Today I’ve been working a little more on the fenixlib library. I finished some design aspects related to animated graphics and worked in a test program to see if everything went well:

fenixlib test program

Nothing special on this picture… well, that’s not true. In fact, the screenshot reveals that fenixlib succeded in reading FBM file format, generated from a simple fenix program. MAP reading was succesful aswell :).

The next step is to make FBM writing available, which has been completed for about a 90 % an tomorrow I expect to finish. I’m eager to see the results when writing more than one frame: it will be my first oportunity to see how animated FBMs work in Fenix :D.

I think usage of fenixlib is looking nice. Here is an example of code needed to open an FBM:

...
FbmReader fr = new FbmReader( new File("./myfile.fbm"));
AnimatedGraphic ag = fr.read();
System.println(ag.getName());
System.println(ag.getWidth());
System.println(ag.getHeight());
...
BufferedImage bi = ag.getFrame(0);
/* Now you can use the buffered image for painting in a Graphic object or wherever you want. */
...

Easy, ¿isn’t it?

fenixlib and the Ring IDE project

April 1, 2007

Some months ago I developed a Java program to manipulate Fenix Map, Pal and Fpl files. It allowed to edit, load and save pal and fpl files aswell as loading Map files and editing its properties and ControlPoints. The program was indeed a project for one subject in the university, so I decided no to continue its development.
But the idea of creating a multiplaform IDE in Java for Fenix is something I had on my mind since I first met Java so I’ve decided to retake the project (well, not the project but the idea) and that is how the Ring IDE borned.

Ring IDE, described as an Open Source pluggable, multiplatform and stable integrated development environment has the main goal of integrating a set of tools to make easier developing games in Fenix.
One of the main goals that distingish this from other IDEs is that Ring IDE will focus mainly in supporting as many fenix file formats as possible, delegating to a second place the code editor. The reason for that is that one can write code more or less confortable in any code editor but there are no similar tools for Fenix file formats. Ring Ide is built under the phylosophy of “One IDE to rule them all”, an idea partially taken from the project Flamebird (another Open Source project for creating a Fenix IDE in which I participated)

And what about fenixlib? fenixlib is a class library (writen in Java) whose aim is to support Fenix File formats in java in an easy way. With these library, any Java programmer can manipulate easily Map, Fbm, Fpl, etc. files. The purpose is to encourage Fenix users with Java knoweldedges to write its own GUI tools as well as providing a separated library to be used in Ring IDE.

Currently the project is in an alpha state: fenixlib is completed for about a 35% (Map, Fpl, Pal, and Fbm support is included) and the Ring IDE is still in an envision phase. Ring IDE development will not start until fenixlib is in a mature state – say 70% – however, simple (but helpful) tools are being developed at the same time as the fenixlib.

I’ve just asked BerliOS to give host for my project so let’s hope this project arrives far: Long life the Ring!