Thursday, 15 May 2014

Regions and actor entry

I have a reasonably clear view on how the scene will pan out now.

There is a trigger expression in the conversation with Alice that will allow access to Tilker Skallion and Foggit.

Traditionally I had always managed these things by using global variables which meant my code was chocking up with globals, even if they were only used in the context of a single scene.

I just worked out(though doubtless thousands have used it before) a new tactic of creating an entity which just has he scope of a scene. This entity can then either be forcibly released or alternatively will drop away once the scene is exited.

this created entity can then hold attributes/properties/ which can have states, This is a great mechanism for recording which conversations have taken place in a scene.

Now I have to bring in a thought verb. I will reuse the code from seraphite for this.

No comments:

Post a Comment