Inspire08 demo log, day 22

May 4th 2008

Status:
4 days left until Inspire08
Base code (still!)


Well, I haven't progressed much visually, but I've refactored everything quite a bit. The base is almost done.

/projects/inspire08/05/

As you can see, I have a Logger, Timer, FPS counter, MS... That's enough for debugging/testing the effects on-the-fly. Also, I have a base for the Scene Managing, I still have to load a XML with the times of start/end and all this but by now it's simple enough and looks like this:

import javax.media.opengl.GL;
import java.util.ArrayList;
import com.xplsv.utils.Logger;

import scenes.*;

public class SceneManager
{
	private ArrayList scenes;

	public SceneManager(GL gl)
	{
		scenes = new ArrayList();
		
		scenes.add(new SceneRandomPolys(gl));
		scenes.add(new SceneInfo(gl));
		scenes.add(new SceneLogger(gl));
	}

	public void init()
	{
		Logger.init();
		Logger.log("SceneManager.init");
		
		for (int i = 0; i < scenes.size(); i++)
			((Scene)scenes.get(i)).init();
	}

	public void render()
	{
		for (int i = 0; i < scenes.size(); i++)
			((Scene)scenes.get(i)).render();
	}
}

Just 4 days to go and I still don't know how the visual content will be... Oh well... Tomorrow more.

0 comments written so far...


Have your say!

Name:

Website:

Comment:

Some of the projects that I worked on.



Some of the HTML5 and Actionscript experiments I've done.