Wednesday, September 21, 2011
The first thing I wanted to make was a modular on the fly image loading text system. The Otherworld used an array hopper and did a first in first out system.
This new system instead of using a hopper instead does pointers.
tag 1 "line 1" -> points to tag 2
tag 2 "line 2" -> points to tag 3
tag 3 "end" -> points to end
The advantage is that we can go to any tag whether its text or EVENT! So that means we can do Text -> event (change screen) -> text -> event (add item) -> text with no visible change to the user.
Also it is modular in 2 different ways. The first its can be taken to a completely stand alone version. The link below is the exact system no changes needed that I use in the game. But running stand alone for debugging!
The other way its modular is that when you open the file you see that it has 1 books.xml that then opens up the 2 story.xml and story2.xml. This means if I want to write an entire new story or chapters i can do them individually in different files and just have to update books.xml with the file name. Makes for much easier organization and will bring us to tomorrows main topic witch is modding.