Tuesday, March 13, 2007

First package ready but...

The first win32 package is ready. It was actually quite easy to do using NSIS. Then I discovered that the framerate was about 22 or so. I paniced a little and tried the ogre samples to see if it was only a problem that I had. Fortunately the sample showed the same framerates. Then I tried to compile the samples i release mode and that changed the fps from about 20 to 800! In linux it wasn't a problem to run in debug mode at all. But this is obviously different on windows. So now I'm trying to make a release build in order to make a package that I can actually give to somebody else and not feel too stupid :)

I also made a lot of documentation/cleanup in the code. This the first step in making it ready for others to hack. During this cleanup I've also merged the server and client assets directories (textures, models...). This makes a standard install much smaller, since most users starts the server and client on the same computer. At the same time I moved the assets to where the binaries is located in order to make it easier to package.

Oh, I found a way to do completions in the python console:

import rlcompleter

import readline

readline.parse_and_bind("\C-space: complete")

Add this to you PYTHONSTARTUP file and you have completion on ctrl-space (twice).. quite nifty i think.

No comments: