Sunday, February 17, 2013

A Menu

Huzzah Jatu!  To battle.

Anyway, aside from my dream of a Cultura where you can actually create the Jatu tribes and run around rampaging through the lands in your barbarian destruction of the hardwork of civilised peoples...


I have the UIManager working and the InputManager currently injects mouse/keyboard input into the CEGUI system.  Basically, I will work on menu/state transition between saving, loading, quitting, in game menu and the game, with all the event listeners for the various menu items correctly subscribed. 

Then after that I will work on CGameState focusing primarily on saving/loading a simple map and then figure out how to update the scene to play the game.  After that I'll spawn some units.  That will involve a lot of work.

After that I'll start figuring out how allow the user to select units.  Ogre does ray casting math for me but I still need to figure out a sort of reverse hash set lookup to map Ogre's scene entities with my game entities.  Then I can start with having them push actions onto their stack.

Then once I have actions property on the stack, I start work on the UpdateTick functionality of my game.  It'll go through the list of units that need stuff to be updated and move them about, harvest resources and so on.

Lots of work to do but being able to display a menu is exciting!

1 comment:

  1. Nah. Gray looks boring. I'd scrap your menu and start again if I were you. #lawlawllawl

    ReplyDelete