プレイ日記
9qN ace acehall
after learning basic html i want to try to learn basic to make games
4そうだね
プレイ済み
返信[1]
親投稿
PChicken NerdChicken
One thing I have to say: They are not the same. HTML is a mark-up language, meaning it cannot change the page after it renders by itself*. *Most people use other languages, such as Javascript, with HTML which is otherwise called HTML5, in order to create things like games or intricate menus.
1そうだね
プレイ済み
返信[2]
親投稿
PChicken NerdChicken
BASIC, or the SmileBASIC dialect in this case, is a programming language, meaning you can dynamically change the content after it renders. This can be used as a standalone language if you want to make a game, etc. It is also much more versatile and as a result MUCH harder to learn. BASIC isn't just tags and codes. You will have to learn things such as conditionals, variables, and loops.
0そうだね
プレイ済み
返信[3]
親投稿
PChicken NerdChicken
Variable: X = 0 X = X + 5 This will initialize and set a variable X to 0, then increase it by 5 in the next step. Conditional: IF X > 10 THEN X = 10 This will set a variable X to 10 IF the variable X is greater than 10. Loops: REPEAT X = X + 5 UNTIL X > 10 Alternate loop that is less useful in THIS CASE: WHILE X <= 10 X = X + 5 WEND This will increase a variable X by 5 until it is greater than 10.
0そうだね
プレイ済み
返信[4]
親投稿
PChicken NerdChicken
To clarify: Both loops will do the same thing, but the REPEAT one is better for the thing you're trying to do. Also, use PRINT "string" to display information on the screen. There is a blue help button located in the top right corner of the touchscreen. It has a question mark in it. Pressing it while the cursor is over a command will show a help section written specifically for that command.
0そうだね
プレイ済み
返信[5]
親投稿
PChicken NerdChicken
Pressing it while the cursor is on an empty line will show a general reference manual that contains many commands for you to type up and press the help button on. Good luck!
0そうだね
プレイ済み
返信[6]
親投稿
9qN ace acehall
i know how to use it i have been in this comunity since the games us release i am going to give another go though
0そうだね
プレイ済み
返信[7]
親投稿
9qN ace acehall
but thanks anyways
0そうだね
プレイ済み
返信[8]
親投稿
PChicken NerdChicken
"i want to learn BASIC" D: was that a lie?
0そうだね
プレイ済み
返信[9]
親投稿
9qN ace acehall
no i got the game but all i could do is display text i couldnt make anything
0そうだね
プレイ済み
返信[10]
親投稿
PChicken NerdChicken
can you still not do more than print?
0そうだね
プレイ済み
返信[11]
親投稿
9qN ace acehall
i can do a little bit more but i havnt had time to learn because im busy with school
0そうだね
プレイ済み