It is currently Sat May 25, 2013 12:55 pm

Dev Diary

View active topics

All times are UTC


Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 PostPosted: Tue May 12, 2009 12:33 pm   
User avatar

Joined: Fri Oct 03, 2008 2:43 pm
Posts: 39
Location: Northumberland
Ok - I've been a bit quiet recently - mostly as there's not really been much to demo, as everything's been going on deep in the innards of the engine, rather than anywhere that actually would show in a video.

The main focus at the moment is getting Lua integrated in, and it's mostly there now. Each level file gets its own corresponding lua script, which can subscribe to game events, and create timers and sensors.

Timers just wait for a set amount of time before triggering a lua callback, likewise a sensor is just a watch zone in the level which triggers another callback when something (the player, or another movable object) stumbles into it.

This means the game engine doesn't need to care about hard-coding the logic for each level, it just needs to provide the basic building blocks.

For example, instead of having to specifically code in the engine a way to have a windy tunnel that blows the player along, you just need to create a sensor in the tunnel, and apply a force to any object that stumbles in to it.

(as a quick test, I built something similar to Portal where you fall through one hole and pop out somewhere else, maintaining momentum - that probably doesn't make any sense for this game, but it means the engine is nice and versatile!)

Likewise, instead of having to have something in my level editor that defines what conditions you have to meet to be able to go through an exit (and which room you should go to when you do), it just gets coded into the onExit() event handler in the level's lua.

_________________
Image


Top
 Profile WWW  
 PostPosted: Mon Jun 08, 2009 12:29 pm   
User avatar

Joined: Fri Oct 03, 2008 2:43 pm
Posts: 39
Location: Northumberland
More slow progress (I'm currently only getting a chance to spend a few hours on this at weekends)

The Lua integration is progressing smoothly (I hope to soon be able to define an actor's physics from Lua, and tie actors together - this will let me have string on the balloon, and attach Lerp to the string, for example!)

Also got the basics for chat bubbles going, for basic RPG like interaction with other characters

_________________
Image


Top
 Profile WWW  
 PostPosted: Thu Jun 11, 2009 10:19 pm   
User avatar

Joined: Fri Oct 03, 2008 2:43 pm
Posts: 39
Location: Northumberland
After a bit of fiddling with VMWare, Ubuntu and Code::Blocks I've now got it building under Linux (so that's one of the big hurdles out of the way to getting it to run on Pandora / Wiz)

It runs awfully (~8fps) but I think that's mostly because VMWare player doesn't support hardware accel for OGL!

_________________
Image


Top
 Profile WWW  
 PostPosted: Sun Jul 05, 2009 1:01 pm   
User avatar

Joined: Fri Oct 03, 2008 2:43 pm
Posts: 39
Location: Northumberland
Image

Small example showing the chat bubbles in action, along with proper string on the balloon!

_________________
Image


Top
 Profile WWW  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style originally created by Volize © 2003 • Redesigned SkyLine by MartectX © 2008