Re: (Partial) Text Adventure Questions
Posted: Mon Aug 29, 2016 4:50 am
We won't debate, promise!
Just tell what is it.
Just tell what is it.
Yes, I've been using Twine to organize my story. It is extremely helpful, but is not at all what I want for actually running my game.SiENcE wrote:@JGAberrance First you should take a look at Twine...it it can do the job for you. If not, use it as banching editor and write our own runtime. This works really well at least for my game.
What could you need else?JGAberrance wrote:Yes, I've been using Twine to organize my story. It is extremely helpful, but is not at all what I want for actually running my game.SiENcE wrote:@JGAberrance First you should take a look at Twine...it it can do the job for you. If not, use it as banching editor and write our own runtime. This works really well at least for my game.
//image npc1_mummy.png//
{white}Rappok: {green}Ah uh, who {even}are {uneven}you?
//color {0, 199, 150, 255}//
//condition { pc={ {'Kturim','remove'}, {'Harro'}, }, }//
[[I\'m Kturim, the 16s son of Rak\'shala. Whats up?|Link1]]
//condition { pc={'Harro'}, nopc={'Shandrala','Tula'}, }//
[[Harro from the dome city of Nurrak. And who are you?|Link1]]
//condition { pc={ {'Tula','remove'}, {'Harro'}, }, }//
[[I\'m Tula of Lesh-541. And you?|Link1]]
//condition { pc='Vuolo' }//
[[Who wants to know this?|Link1]]
//color {224, 199, 150, 255}//
[[Let\'s start with you. Who are you?|Link5]]
Of couse...for all this you need to write an interpreter. But Twine using as base editing tools suites really well. No need todo xml...or write your own editor. You can export the "source code" (raw texts)....and read it using a Twine library (like this https://github.com/bensku/twine-lua). There might be other as well.//image npc1_mummy.png//
{white}Rappok: {green}You might need something to open the door. The stick of the doorswitch was removed that no one can get out this grave site.
Do you have some money?
//condition { check = function(value)
return (value['money'] >= 99 and value['money'] <= 100)
end }
//
[[Yes, you have some 5 bucks.|Link1.3]]
[[I guess You don\'t have the stick?|Link1.2]]