George
|
posted 04-10- 11:30 PM CT (US)
it's very easy. Create your own &story in your main.c (should already be there if you copied the one from Dink). Then, after important events, raise it. For instance, if &story is 0, some knights attack, starting off the game. When you beat them, it's 1, and they don't come back if you go back to that screen. If it's 1, then when you visit the shop some crooks appear, which raises it to 2. The crooks won't appear again. Do you understand now (I'm assuming you know how to use ifs? to raise a variable, use &var += 1; or whatever number you want to use. you can't use ++ or +. |