トピック
Xander BLURRYFACE21P

I need a teacher.

I need an expert of Smile BASIC to help me.l don't have any experience in coding(except on scratch).So l was wodering if l someone could teach me, like give me lessons.
2そうだね
プレイ済み
返信[1]
親投稿
eddie ninteneddie
I'm willing to teach you on some basic things about Smile Basic. However I never go this version released in my region. I will have to teach you from a Petit Computer ( Smile Basic v2) perspective. This won't change much but there will some features that I miss such as 3d, circle pad and motion controls.
1そうだね
未プレイ
返信[2]
親投稿
eddie ninteneddie
Firstly, I think it is good to start with data. As you may now programming has all sorts of way to save information. To make a standard game I think you should know variables and arrays. A variable will be written like this... HP = 100 From writing this the game will now now that at any point you say "HP" it will use the number 100.
1そうだね
未プレイ
返信[3]
親投稿
eddie ninteneddie
Here is a quick test. Type any variable you want then add PRINT (variable name); For example Age = 32 PRINT Age; In my case when running the program you should get it saying 32 then end.
1そうだね
未プレイ
返信[4]
親投稿
eddie ninteneddie
Arrays are done in a similar ways, the only difference is that they can store multiple information into a single word. For example I'll make an array filled with numbers. DIM Number[2] Now I should have a list of 3 numbers. To change these numbers I would say.. Number[0] = 1 Number[1] = 2 Number[2] = 3
1そうだね
未プレイ
返信[5]
親投稿
eddie ninteneddie
Now moving onto adding and subtracting numbers. Here is an example. Age = Age + 1 This simply adds 1 onto the variable Age. To do subtract is simply say. Age = Age - 1
1そうだね
未プレイ
返信[6]
親投稿
eddie ninteneddie
From now I think you should follow this link ( http://www.instructables.com/id/Making-Your-First-Game-on-a-3DS-With-SmileBASIC/ ). This is a step by step guide to make a simple game; it will go through other commands that are useful for a game and explain how to use them. What I have told is really important to making games which you may need in the future.
1そうだね
未プレイ
返信[7]
親投稿
TheRandy connorbyr
Hello World Program: INPUT "What Is Your Name";NAME$ PRINT "Ok";NAME$ This is a simple program to learn the basics of the INPUT command.
1そうだね
未プレイ
返信[8]
親投稿
TheRandy connorbyr
A=16 @start IF A==BUTTON(0) THEN @label GOTO @start @label PRINT "WORDS" This should print "WORDS" when A is pressed.
1そうだね
未プレイ
返信[9]
親投稿
John Wick gibby2017
eddie was teaching him not u.
0そうだね
未プレイ
返信[10]
親投稿
John Wick gibby2017
Not u Randy
0そうだね
未プレイ
返信[11]
親投稿
John Wick gibby2017
Pheonix [AKA Alexander] is my Brother:] :) :( :p :^ :O :0 Yeah and Follow me.
0そうだね
未プレイ