Okay so just wondering. Spent time yesterday checking the forum, dev wiki, CoG site and came up empty. I recall reading somewhere that you can code an option to appear/unlock after a certain amount of playthroughs.
So after trying unsuccessfully to make it work I’ve decided to ask if it’s possible. This is what I tried:
startup
*create playthrough 0
In a scene
*choice
__#option 1
__#option 2
__*if (playthrough>1) #option available after first playthrough
Ending scene
*set (playthrough+1)
__ shows example indent
So what am I doing wrong? Or, do I need to use a save in order to do this? I’m assuming It’s possible as achievements can be saved between playthroughs, unless anyone can confirm there is no way of doing this.
It’s not possible to have a newgame+ and use the restart button. You can fake it with just a *goto_scene at the end looping back to the beginning again, or by just trusting the player, or even providing a password at the end of the first playthrough which will unlock a second one.
The problem with that is anyone that ever hits the restart button, or that clears their cookies, loses that. And that will happen a lot for at least a significant number of players.
I’m not sure. I really don’t know much about achievements since I don’t pay attention to them when playing, and they didn’t exist when I started coding. Actually I don’t think I’ve played much with achievements, since I generally play stuff before they’re implemented.
There’s a *check_achievements command, but it’s not a reliable method.