トピック
noah Nar2004

tell me some tricks need help with everything

1そうだね
プレイ済み
返信[1]
親投稿
Josh josh.h7
If you're new to programming start with hello world CLS PRINT "HELLO" WAIT 100 END you can also click on the "?" to see info on things
3そうだね
プレイ済み
返信[2]
親投稿
Zee Storybookten9
The BUTTON() command is useful. It gives output in binary, so you can use constants like #A or just use 16 for A. If you do 2 buttons it will combine those bits IF BUTTON()==(#A or #B). If you put it in a loop it is very powerful. Of course, if you're new to programming do simpler ideas, like Hello World! or What is Your Name? Hello Name!
1そうだね
プレイ済み
返信[3]
親投稿
Andrew gamer52
how do you use buttons in smilebasic?
1そうだね
プレイ済み
返信[4]
親投稿
mystman12 mystman12
When using the BUTTON command, use "AND" instead of "==", so your code looks like this: IF BUTTON(2) AND 16 THEN DO STUFF By using AND, you'll be able to use buttons even while other buttons are being pressed down!
1そうだね
プレイ済み
返信[5]
親投稿
Phoenix B) epicphoenix4
USE ? instead of PRINT (Ex: ? "HI")
1そうだね
未プレイ
返信[6]
親投稿
V360 TheV360
@mystman12 If I remember correctly, you can't put any other conditional expressions after that, so you can also use: IF (BUTTON(2) AND #A)>0 AND OTHER VARIABLE==1 THEN DO STUFF Also, you don't have to use TRUE or FALSE. You can use 1 and 0 instead.
1そうだね
プレイ済み
返信[7]
親投稿
noah Nar2004
I know how to do sounds and music but what about backgrounds
0そうだね
プレイ済み
返信[8]
親投稿
noah Nar2004
and geting texts on the screen
0そうだね
プレイ済み
返信[9]
親投稿
Josh josh.h7
To get text on screen use code like, PRINT "text" or ?"text"
1そうだね
プレイ済み
返信[10]
親投稿
noah Nar2004
l know how to do backgrounds now like background RGB (0,192,0) =green
0そうだね
プレイ済み