I'm creating a prototype game to learn Twine 2 (I learn better by doing) and I'm trying to get the hang of how to best use variables with it. I've got a few questions so far from a day or so playing around in it I'm hoping this awesome community can help me with:
1) An easy one, how do I keep a huge blank space from showing up where I initialize them?
2) Since I get use commas when initializing something like a monetary amount, is there a way when I print the value to have it displayed in a more readable way? ex : (set: $money to 100000) prints out 100000 which is kind of hard to read as $100,000
3) What is the easiest way to go about using the variables to determine what options or text show up? ex : If the player has enough money I want to show them the option of being able to buy their way out of a situation, if not I want that hidden and maybe only show them the option to try and fight their way out.
Also any pointers on places that discuss or go over things you can use variables for in Twine 2 would be amazing.
1) An easy one, how do I keep a huge blank space from showing up where I initialize them?
2) Since I get use commas when initializing something like a monetary amount, is there a way when I print the value to have it displayed in a more readable way? ex : (set: $money to 100000) prints out 100000 which is kind of hard to read as $100,000
3) What is the easiest way to go about using the variables to determine what options or text show up? ex : If the player has enough money I want to show them the option of being able to buy their way out of a situation, if not I want that hidden and maybe only show them the option to try and fight their way out.
Also any pointers on places that discuss or go over things you can use variables for in Twine 2 would be amazing.