プレイ日記
Twoson DatClip
It says there's a break on 0:4, I don't see anything wrong, help?
4そうだね
プレイ済み
返信[1]
親投稿
MerZ LinkZ19
I think BTRIG is not used in this version and 1024 is not used anymore for start button.
0そうだね
プレイ済み
返信[2]
親投稿
MerZ LinkZ19
Try BUTTONS instead of BTRIG
0そうだね
プレイ済み
返信[3]
親投稿
Twoson DatClip
Ah, thanks
0そうだね
プレイ済み
返信[4]
親投稿
mystman12 mystman12
I think if it says there's a break, it just means the program was stopped on that line. I do notice though that you're trying to use BTRIG, which isn't used in SmileBASIC. The equivalent is BUTTON(2). Also, 1024 is an unused button value, and START or SELECT both end the program, so they cannot be used except for being held down when a program starts.
0そうだね
プレイ済み
返信[5]
親投稿
mystman12 mystman12
Also a quick tip, instead of using BUTTON(2)==#, use BUTTON(2) AND # Using AND instead of == allows buttons to still function even while others are being pressed!
0そうだね
プレイ済み
返信[6]
親投稿
Twoson DatClip
So then what are the numbers for Up, Down, Left, and Right?
0そうだね
プレイ済み
返信[7]
親投稿
TN21 Trinitro21
Same as before, 1, 2, 4, and 8. Alternatively you could use #UP, #DOWN, #LEFT, and #RIGHT. SmileBASIC has constants like that for every button except start and select.
0そうだね
プレイ済み
返信[8]
親投稿
Twoson DatClip
I tried to run it but it said this, can I substitute something in place of BGFILL?
0そうだね
プレイ済み
返信[9]
親投稿
TN21 Trinitro21
Take away the 3 zeroes at the end of your BGFILL command. It's all combined into one number in SmileBASIC. http://smilebasic.com/en/reference/ There's also an in-game help menu that will display the info for the command your cursor is currently on.
0そうだね
プレイ済み
返信[10]
親投稿
TN21 Trinitro21
And the sprite commands changed too so SPSET and SPANIM will produce errors. SPREAD(0),X,Y should be changed to SPOFS 0 OUT X,Y.
0そうだね
プレイ済み
返信[11]
親投稿
Twoson DatClip
It says Left is out of range...
0そうだね
プレイ済み
返信[12]
親投稿
TN21 Trinitro21
Did you type LEFT or #LEFT?
0そうだね
プレイ済み
返信[13]
親投稿
Twoson DatClip
I tried both
0そうだね
プレイ済み
返信[14]
親投稿
Twoson DatClip
It looks like this
0そうだね
プレイ済み
返信[15]
親投稿
MerZ LinkZ19
IF BUTTON () AND #UP THEN IF BUTTON () AND #DOWN THEN IF BUTTON () AND #LEFT THEN IF BUTTON () AND #RIGHT THEN
0そうだね
プレイ済み