I keep trying to put it so if you press a it says you win & it shows a sprite but its not working it says syntax error (:3)
So im guessing thats line 3 thats messed up but still how do I do it
Um, baby steps. Let's get the basic down first.
IF BUTTON(2)==#A THEN PRINT "You Win" means:
"if the button A is momentarily pressed without repeating, print You Win". Don't change it to jibberish like 62.
And we need to loop it (@LOOP... GOTO @LOOP) or SB will just end program.
In the IF...THEN statement, you can "chain" multiple commands with a colon(:), so you can do your pretty COLOR and other stuff.
You can't offset a sprite (SPOFS) without first SETTING the sprite (SPSET). It's like you can't eat dinner or pass plates around without setting your table.
In my screenshot, I've set it up so whenever you press A the sprite will move diagonally down a little.
I'd like it where it shows a menu it says the derp game Big letters & says Press A & it removes that & says You win! Man I wish the remaining post gets off
Huh? You just did right? The darkred background color.
COLOR A,B
A and B are both numbers from 0-15, A for foreground, B for background. (example: COLOR 3,8)
You can also use labels starting with #T instead, such as COLOR #TYELLOW,#TRED
Also, for the line
SPOFS 0,150+X,100+Y
You can play around with the numbers (don't change the 0), such as
SPOFS 0,170-X*2,193+Y*3
Go crazy!