Archive for April, 2007

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


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 =;
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?

GalaxyGen – Simple Open GL application

April 1, 2007

Last friday I had to make a simple free animation using OpenGL and C++ and I chase to make a kind of Solar System with basic glut primitives. I’ve uploaded the code (sorry, this time comments and source code are in Spanish) cause it’s very simple and understandable and could be useful for people learning Open GL.

Here is it an screenshot:

Galaxy Gen

Note: in the capture the planets seem to collide but they do not in fact.

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!

Change in the direction of SII

April 1, 2007

For more than one month this site have remained without changes so It’s clear to me that there is something wrong with the initial approach of the weblog. That’s the reason I’ve decided to change to SII purpose to convert it into a place where I can inform people about my projects and other stuff that interest to me. You might be wondering if that was not the initial idea – well, more or less. SII pretended to be a place for me to write entire articles about programming, engineering, etc. but this purpose failed when I found I didn’t have enough time to do so.

So two main changes have taken place:

  • The blog has become -mainly- a kind of worklog or personal developer blog.
  • As I use English as the language for my projects, it makes sense to use the same language here (of course I’m limited for my English knowledges

I hope this way I can mantain a more updated blog.