Well it's a Conio based app (ie text mode) so it's not like screenshots are ever going to draw anyone in -- if it's of any interest to someone then they probably will know just from the description. Nevertheless, it currently looks like this:
Incidentally the script for that 'page' (with the comments stripped out -- all the example pages are helpfully commented) looks like this...
SetFrameTitle("Get & Set")
AddText(
GetVar("hero_name")..", you have "..GetVal("gold").." gold coin(s)."..EndPara()
)
AddText( "KERCHING!"..EndPara() )
SetVar("gold",4)
SetVar("hero_name","Minted adventurer")
AddText(
GetVar("hero_name")..", you now have "..GetVal("gold").." gold coin(s)."..EndPara()
)
AddText( "KERCHING!"..EndPara() )
SetVar( "gold",GetVal("gold")+4 )
SetVar("hero_name","Extra minted adventurer")
AddText(
GetVar("hero_name")..", you now have "..GetVal("gold").." gold coin(s)."..EndPara()
)
AddOption("Conditional elements and program flow",3) And it's the same with conditional logic -- you just program in Lua with a few SLAY-specific commands to keep track of variables, define text and link pages together.
|