【SmileBasic】 Pi STARTER GOTO 1 【RPi】 (256レス)
1-

97
(4): 2018/10/15(月)10:13 ID:CRcCt6Vz(1) AAS
こんなふうにやるのだよ

b=button()
if b and 1 then print "up"
if b and 2 then print "down"
if b and 4 then print "left"
if b and 8 then print "right"
if b and 16 then print "a"
if b and 32 then print "b"

要するに#BID_○○は使っちゃダメってこと

そもそも#BID_○○って
#BID_UP…0
#BID_DOWN…1
#BID_LEFT…2
#BID_RIGHT…3
#BID_A…4
#BID_B…5
っていう変な内容なので、button()系では全く役に立たない代物
あんなものをリファレンスの紛らわしい場所に載っけてるのが悪いのさ
1-
あと 159 レスあります
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル

ぬこの手 ぬこTOP 0.003s