New Fun Blog – Scott Bilas

Take what you want, and leave the rest (just like your salad bar).

Almost Gold…

with 3 comments

Been super busy lately. We announced at E3 finally: Zephyr: Rise of the Elementals (since renamed to Tornado Outbreak). And we’re nearly done! Down to the short strokes.

Fitting a cross-platform game into the tiny confines of a Wii is a lot of work. This is a reminder to myself to make a post on one of my optimizations to our usage of Lua.

I added an extension that does a CRC of a function’s bytecode, constants, etc. and then builds a function db at world load time, sharing them as duplicates are found. Saves a lot of memory. Just a little bit of trickiness with keeping the current game object environment set right and all that. More later when we’re out the door.

June 13th, 2009 at 11:43 am

Posted in lua, zephyr

3 Responses to 'Almost Gold…'

Subscribe to comments with RSS or TrackBack to 'Almost Gold…'.

  1. /poke

    We’re ready to read a new post about your Lua usage – if you’re ready to write it. :)

    Anthony

    2 Dec 09 at 1:09 pm

  2. Thanks for the poke. :)

    I’ll see what I can do. Some big changes lately..post coming up about this.

    Scott

    9 Dec 09 at 1:21 pm

  3. [...] the other side of the coin, there are some loose ends I never tied off from previous posts. Now that I’m no longer part of Loose Cannon, I can’t talk about work I did there, or [...]

Leave a Reply

Want to paste some code into your comment? Just wrap it in [code] [/code]. Also, please note that off-topic or overly commercial comments will likely be removed at my discretion.

Switch to our mobile site