How do I make a chunk of code continuously run whilst another chunk runs? For example, code which causes the background's color to randomly change and code that continuously moves a sprite to random places on the screen, both running simultaneously.
Does anyone know how to return to a project? I've been developing a text adventure game (the image is not related), though I have been feeling rather lazy. I have not made any progress in weeks. I just don't feel like doing anything. Help? Suggestions?
Yes, it's worth it. This is the greatest and cheapest programming game on the 3DS. Even if programming isn't your cup of tea, there are many amazing games you can download in SmileBasic.
SAVE"TXT:HowFar"
Use that to save a variable. HowFar can represent how far you are in the game, and in-game you can save by doing HowFar=HowFar+1. At the beginning of the code you can do LOAD"TXT:HowFar" and then IF HowFar=number THEN GOTO @WhereTheGameSaved multiple times. You shouldn't use GOTO at all because it ends up ruining code later on, but this is the most simple way possible.