I finally got the title screen of my game done...well, no actually, all I have are locate and print commands, so it's just a picture. how would I program something so when a player presses A, it will take them to the game?
It's a start!
For buttons use the command BUTTON(). As in:
IF BUTTON() AND {button code} THEN {do something}
The button code is which button you want. Here is the list of codes:
1- up, 2- down, 4- left
8- right, 16- a button, 32- b button, 64- x button, 128- y button, 256- l trigger, 512- r trigger
Here's an example:
IF BUTTON() AND 16 THEN GOTO @START
ok, so if I put that in the code after the title screen, it'll take me to the game? (the game has not been programmed yet) One more question. How and where would I type code to make the title screen better?
Thanks--Nintendude
do either of you know any tutorials I could do to teach me more commands? I am new to programming and I only really know python commands, BASIC is a little confusing too.any suggestions.
Check out PetitProfessor3D on YouTube, just search smilebasic and it the first video: SmileBASIC for Beginners - Lesson 1
Also check out smilebasic source. It's a website for smilebasic and its got forums and chat so you can ask for help there too.