put the chunks of code into separate defs and call them in a while loop.
WHILE 1
userDefinedFunction1
userDefinedFunction2
VSYNC
WEND
0そうだね プレイ済み
I also thought that the SmileBOOM tutorials were incomplete? It has been a while since I've checked though
0そうだね プレイ済み
Yeah, I agree. The guide I'm currently working on won't be too in depth but just enough to get started.
Another point: lots of people who have smileBASIC probably know the basics by now. I may carry on and publish when it is done, but only give the key when there's an obvious newcomer on miiverse, and hopefully save time on questions no one wants to waste their breath on answering.
1そうだね プレイ済み
If I were to make a guide for beginners availabe on smilebasic, would they benefit from it?
Note: It will only contain enough info to create a simple program. The intention is to get them started and continue learning on their own.
I already have a table of contents but feel free to make suggestions!
8そうだね プレイ済み
heh... but not clue because copyright... keep it on the downlow......
1そうだね プレイ済み
I made a mistake. LARRAY should be LoadArray
(I was trying to make an old example of mine easier to understand by spelling out the array name)
0そうだね プレイ済み
Here is how to load the saved array with a button press
0そうだね プレイ済み
You could do this to save:
(loading up next)
0そうだね プレイ済み
in my current program, you recruit allies via prison cells in this "abandoned" jail.
4そうだね プレイ済み
Try PRINT TIME;" "
This will put a blank space after the value of TIME which will get rid of the 0.
1そうだね プレイ済み
I'm not sure about the A. I never use it
0そうだね プレイ済み
...assuming the program uses DATA for mml
0そうだね プレイ済み
well, regardless of which program we are talking about, this screenshot will help.
first you would want to copy the mml data. Search "BGM" + the number you are looking for. Copy from the label to "DATA 0". Past it in your program. Then when you wish to play the song, assign the bgm an id with BGMSET as shown, then play it. Hope this helps!
0そうだね プレイ済み