Wednesday
Nov232011
Game Development: Robot in the City progress!


- Dialogue appears as a lightbox with profile picture on left and text on right. The same occurs for when you use an object, examine an object and so forth. Basically any interaction will use that.
- Dialogue works in that when you say one thing, it accesses the main brain of the dialogue tree and proceeds to check if there's another node to follow. If yes, it will "showDialogue(node)" otherwise it will simply close the dialogue lightbox.
- You can interact with objects and pick up ones that have a "_pickupable" variable equally true. The only weird finagling I had to do was assign it an inventory slot, which appears on the bottom of the screen as well. This limitation differs from the old Sierra and LucasArts games in that it's not simply pushing a new object into your inventory array and you are limited to how many items you can carry based on how many inventory slots have already been preassigned.
- While you can examine things and have them interact with other things (things or actors, including yourself), I have yet to determine if I want the ability to have things interact with other things in your inventory. I'm sure it's a quick implementation, but I haven't really thought about it yet. I probably need to assign "inventory._type = "inventory"" and do a quick check or something.
Wednesday, November 23, 2011 at 3:56PM 






Reader Comments