Monday, June 1, 2015

Gamefic: Managing and Customizing Scenes

The concept of scenes has always existed in Gamefic. The simplest kind of scene was simply a block of code that got called by the cue method. There were also specialized kinds of scenes like pause, prompt, and yes_or_no. The system seemed solid in my initial tests, but when I started building a larger game that heavily relied on different types of scenes, I noticed a few shortcomings. As a result, I redesigned scenes so the shortcuts for creating common scene types were still available in plots, but under the hood there's a system that provides a lot more capability. The new system is based on three classes: SceneManager, SceneData, and the Scene itself. Read More


from Planet Interactive Fiction http://ift.tt/1RFO7ZW
via IFTTT

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.