プレイ日記
anthony thony1028
¡¿i havent finished the game why cant i continue!?
1そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
Are you copying this from somewhere or writing code without a prior knowledge of SmileBASIC's instructions? A lot of the syntax you are using is wrong and you are not using the appropriate instructions. Try starting to learn SmileBASIC by developing small, basic programs on your own, then learning more advanced instructions as you go.
0そうだね
プレイ済み
返信[2]
親投稿
anthony thony1028
i was trying to make a game where you control a blue car and collect coins and avoid red cars if you touch a red car a cloud will apear betwen you and the red car and the title will look like a flag that says lowres racing II in color white but the II is still and it says your hiscore and you press a button to play only show it on the top screen
0そうだね
プレイ済み
返信[3]
親投稿
MathPRG MathProgrammer
Yes, a lot of the code is wrong. "SPRITE HIT" isn't a real command, and the use of END is wrong too, to end an IF statement you use ENDIF all as one statement. You might want to start small with things like text display before moving onto Sprites, they are more complicated and require some more knowledge about SmileBASIC.
0そうだね
プレイ済み
返信[4]
親投稿
anthony thony1028
im so confused why SmileBASIC is like @list or @begin or @loop and other BASIC coders use list: or begin: or loop:
0そうだね
プレイ済み
返信[5]
親投稿
MathPRG MathProgrammer
Instead of using line numbers or those references to jump to a particular spot in the program, SmileBASIC (as well Petit Computer, the older interpreter by SmileBoom) uses labels for GOTO and GOSUB commands, which are marked by any line beginning with @, thus letting you use any name for a label.
1そうだね
プレイ済み
返信[6]
親投稿
MathPRG MathProgrammer
Also remember that this application is only BASED on BASIC, so most commands are almost completely different. You might want to look in to the code of some of the samples to take a look, and try to learn the commands SmileBASIC uses instead, and the formats for them. For example, 'SPHITSP(cn, start cn, end cn)' is used to check for sprite collision, 'BEEP number' is used to play a noise, so on.
1そうだね
プレイ済み
返信[7]
親投稿
anthony thony1028
its a little hard to understand
0そうだね
プレイ済み
返信[8]
親投稿
anthony thony1028
but i get it
0そうだね
プレイ済み