プレイ日記
James fourtyman
Hope no one minds me asking, but could somebody here please give me some clear basics on using BASIC? I've read through the manual a few times now, but I'm still struggling because I don't exactly understand the formula for it all, if that's how you would describe this kind of problem. Does anyone here know how to explain BASIC practically enough that I can piece it together mentally and use it?
1そうだね
プレイ済み
返信[1]
親投稿
MathPRG MathProgrammer
Well, there is certainly no way to summarize how to program in BASIC in only a paragraph or two. How I learned was through looking at samples, figuring out how their code works, and making small programs of my own using the commands I wanted to learn. After referencing those commands to the manual several times I got the hang of that command.
0そうだね
プレイ済み
返信[2]
親投稿
MathPRG MathProgrammer
Now, with SmileBASIC, it's even easier. I would suggest loading the coad for some samples and pressing the question mark button on the top-right corner of the keyboard to see what the commands in the samples are doing, and what the syntaxes for those commands are. Then try using those same commands in your own way.
0そうだね
プレイ済み
返信[3]
親投稿
MathPRG MathProgrammer
Ah, geez. Code, not coad.
0そうだね
プレイ済み
返信[4]
親投稿
Autz sonic-HD8765
If you want to learn how to program: any how-to-program tutorial should do the trick. If you want to learn the built-in functions: SmileBASIC website has a Reference Manual that listed all functions with examples. You can also use the "?" button on the keyboardto access to certain parts of the manual (only works if you locate the cursor on a function or keyword).
0そうだね
プレイ済み
返信[5]
親投稿
Autz sonic-HD8765
Also, you can check the built-in examples and see their codes and try to understand them. IMO is not a good way to learn since all of them are spaghetti code and you would get confused, in contrast of being structured code, which improves readability of the code.
0そうだね
プレイ済み
返信[6]
親投稿
Autz sonic-HD8765
On summary: You basically write instructions to a computer to do what you want it to do. To make those instructions you need to learn the tools you have available (functions, keywords and data types), and logic to glue all that. The computer executes instructions line-by-line just as we do anything. For example: To go to school i should: 1) Wake up 2) Dress up 3) Eat breakfast 4) Take the bus --
0そうだね
プレイ済み
返信[7]
親投稿
Autz sonic-HD8765
-- That is called Algoritm, which helps out to visualize a complex process. You can extrapolate that logic into computer instructions and voilá, you have a program.
0そうだね
プレイ済み
返信[8]
親投稿
raimondz raimondzz
If you want to make a game then you need to know 2 patterns: -Game loop -Entity pattern. Game loop is basically a "while" statement that encapsulate the input, logic of the game and the drawing of the stuffs (In that orde). I recommend you to check the code of the game Celeste because the code is well organized.
1そうだね
プレイ済み
返信[9]
親投稿
raimondz raimondzz
The entity pattern is the creation of one or several arrays to represent the properties of an object. GAME4SHOOTER use this pattern to store the angle, the type of character, animation state, etc... There are other patterns that could be helpful but the ones that I mentioned are used on almost all the games.
1そうだね
プレイ済み
返信[10]
親投稿
Stewart segludian1
What level of programming experience do you have? If this is your first time programming we should start with a "Hello World" program. There are some old 80s BASIC programming books around online. Unfortunately the syntax will be quite a bit different. The programs in the old books would take some work to get running.
0そうだね
プレイ済み
返信[11]
親投稿
crazy pro Jakob13009
€£¥§¶†‡|¦±∞♀♂ξψπθβλωψχφζιδεωώςΰΐƒı
0そうだね
プレイ済み
返信[12]
親投稿
crazy pro Jakob13009
ğőĺ žėňťăė ėĺăł?¿?¿?
0そうだね
プレイ済み
返信[13]
親投稿
crazy pro Jakob13009
€ëñтнжуё юяцф
0そうだね
プレイ済み
返信[14]
親投稿
crazy pro Jakob13009
:D lol thats my made up language
0そうだね
プレイ済み
返信[15]
親投稿
crazy pro Jakob13009
do you wanna know how to get minecraft on smilebasic
0そうだね
プレイ済み
返信[16]
親投稿
Quote QuoteGamer
Every basic beginner should realize what the PRINT command is. It is possibly the first and most reknown code there is. Just do: PRINT "Hello, there!" Then, come along sprites, GCOLOR, loops, etc. Sprites are the most interesting. I'll probably be back here later, I gotta go. Sorry!
0そうだね
プレイ済み
返信[17]
親投稿
MathPRG MathProgrammer
On YouTube, there's a channel called PetitProfessor3D, he helped me learn some of the new things that were introduced to SmileBASIC. Check him out too!
0そうだね
プレイ済み
返信[18]
親投稿
James fourtyman
Whoa, so many responses! Thanks, guys! Now here comes the hard part… @MathPRG: …Hmm, interesting. …Thanks, but that sounds like a whole lot of work… I don't think I have time to do all that. @Autz: …Yeah? …I've looked at it before, but there's just so many possible commands and functions listed in it that I don't know which ones to choose from. Learning via the Help button would take too long…
0そうだね
プレイ済み
返信[19]
親投稿
James fourtyman
…Okay. *CHUCKLES* "Spaghetti code?" Heh, heh. That's a nice descriptor! …Mm-hmm. I knew all that already, but that's a good reminder. Thank you! I'm just struggling with understanding all the logic, I think. @raimondz: …Uh-huh. Two patterns, game loop and entity pattern… Game loop is a "While" statement that… Okay. I think I get what you're saying. Uh, what's Celeste?
0そうだね
プレイ済み
返信[20]
親投稿
crazy pro Jakob13009
this is CELESTE
0そうだね
プレイ済み
返信[21]
親投稿
James fourtyman
…Okay. So, that's what the entity pattern is… GAME4SHOOTER uses this pattern… Other patterns that'd be helpful, but… All right. I'll try to remember all of that. Thanks! @Stewart: …No, I've programmed a little before. I know how a "Hello, World" program works. I just don't have experience with programming using the BASIC language. And I don't wanna look for 80s BASIC books online if what I'm
0そうだね
プレイ済み
返信[22]
親投稿
James fourtyman
doing works differently. But thanks for the suggestion. @crazy pro: …What…? …Oh! I see. …Minecraft on SmileBASIC? "Petitcraft?" How do I get that? @[DM]Quote: …I know how to use PRINT already… Yeah, sprites are interesting, but I'm not sure how to use them very well… Oh, all right. That's fine. Hope you'll be back soon! @MathPRG: Oh, I've heard of him. Still haven't seen his stuff… Thank you!
0そうだね
プレイ済み
返信[23]
親投稿
James fourtyman
@crazy pro: Oh, whoops! Didn't see that. So, that's Celeste… Could you give me its key, please? Can't see its code, otherwise.
0そうだね
プレイ済み
返信[24]
親投稿
crazy pro Jakob13009
i dont have any keys
0そうだね
プレイ済み
返信[25]
親投稿
James fourtyman
You don't? How?
0そうだね
プレイ済み
返信[26]
親投稿
Jacob CoolChalk
What's a key? I'm new to this and am not uber mlg
0そうだね
未プレイ
返信[27]
親投稿
crazy pro Jakob13009
because all the pieces of paper i wrote millions of keys on were scattered all over my house and some are in the trash
0そうだね
プレイ済み
返信[28]
親投稿
MathPRG MathProgrammer
Jacob, a key is a usually 8-10 character code which you enter in the publish/download projects menu of SmileBASIC to download other people's projects if they are published online.
0そうだね
プレイ済み
返信[29]
親投稿
James fourtyman
@Jacob: Read the comment that MathPRG just posted here before this one. He explained it. @crazy pro: Oh. That stinks…
0そうだね
プレイ済み
返信[30]
親投稿
raimondz raimondzz
Here is the key of Celeste: [5VXN8AE]
1そうだね
プレイ済み
返信[31]
親投稿
raimondz raimondzz
By the way, there are some tutorials on SmilebasicSource.com on the section Submissions->Resources. Most of them explain hidden functionalities of the language rather than a concept to create a game.
0そうだね
プレイ済み
返信[32]
親投稿
Autz sonic-HD8765
Well, you can take a look at the commands, their explanation and their examples to see whenever command could help you on your task. Other thing you could do is toying (practice) around with such commands and algoritms, you will learn a lot from that. I was toying with Sine and Cosine and from that i made this game from it:
0そうだね
プレイ済み
返信[33]
親投稿
Jacob KulcakKid4
*breaths in* *breaths out* seriously sly dog? That jacob that made that extremely stupid comment is a faker. Just a warning to everyone.
0そうだね
プレイ済み
返信[34]
親投稿
James fourtyman
@raimonz: …Oh, thank you! Now I can check it out. …Oh, I've heard of that, too! Thanks! I should definitely check that out now, judging by what you just said about it. @Autz: …Uh-huh. Good idea, but, again, I'm not sure I've got the time to do all of that work. @J¤©0♭: …Uh, okay?
0そうだね
プレイ済み
返信[35]
親投稿
James fourtyman
Drat! Sorry, I slightly misspelled your name, raimondz.
0そうだね
プレイ済み
返信[36]
親投稿
Jacob KulcakKid4
I like you just because of the fact that you care about your spelling. You don't see that on miiverse too often.
0そうだね
プレイ済み
返信[37]
親投稿
MathPRG MathProgrammer
@J¤©0♭ *Miiverse should be capitalized!* :P
1そうだね
プレイ済み
返信[38]
親投稿
James fourtyman
@J¤©0♭: Yup, I sure do like spelling and grammar! I agree, you rarely see anyone being that careful when they're typing something on here. @MathPRG: Yeah, but that could have just been a typo. I can't really tell if it was, though.
0そうだね
プレイ済み
返信[39]
親投稿
Quote QuoteGamer
@James I'm here, too! People just irritate me to no end when they misuse grammar and/or punctuation. Although I should point it out, it makes me feel as though they are inferior compared to me.
0そうだね
プレイ済み
返信[40]
親投稿
Jacob KulcakKid4
Darn it, you were supposed to have a hard time finding the symbols for my name! J.P suggested that so the faker couldn't copy my name.
0そうだね
プレイ済み
返信[41]
親投稿
Jacob CoolChalk
Who said that?
0そうだね
未プレイ
返信[42]
親投稿
James fourtyman
@[DM]Quote: Hey, now! Sorry, but just because you're careful about grammar and spelling (and such) doesn't make you better than other people. It doesn't make you a more important person than others. I'm not saying you aren't an important individual, if that's what you're thinking. No, EVERYBODY is of equal worth, according to the Creator, as I'm calling him now. @J¤©0♭: Me? Oops… @Jacob: Oh…
0そうだね
プレイ済み
返信[43]
親投稿
crazy pro Jakob13009
i made a minecraft thingy the key is in the screenshot it sais NNNNNN and its called "wacky craft"
0そうだね
プレイ済み
返信[44]
親投稿
crazy pro Jakob13009
woops heres the picture
0そうだね
プレイ済み
返信[45]
親投稿
crazy pro Jakob13009
i dont know how to spell "sais" so i just put "sais" ('^_^')
0そうだね
プレイ済み
返信[46]
親投稿
crazy pro Jakob13009
(΄ж΄)('Ώ')('-')(*_*)(x_x) *secretley watching somone die*
0そうだね
プレイ済み
返信[47]
親投稿
James fourtyman
…Oh, thank you! Wonder what it's gonna be like… …Do you mean "says?" You just spell it like I just did. You're welcome! …Uh… (What just happened?)
0そうだね
プレイ済み
返信[48]
親投稿
James fourtyman
Um, it doesn't work, crazy pro. When I press the A Button, it just shows some syntax error message for a split-second, and then exits. What could be wrong with this program?
0そうだね
プレイ済み
返信[49]
親投稿
Post 8: I've just been making simple programs, but if you need help on something simple I might be able to help.
0そうだね
プレイ済み
返信[50]
親投稿
crazy pro Jakob13009
oh you need to use a key for 'PFdemo' then click on 'mcdemo' then it will work let me find the key
0そうだね
プレイ済み
返信[51]
親投稿
crazy pro Jakob13009
k i have the solution use this key:d5c3vk4e
0そうだね
プレイ済み
返信[52]
親投稿
crazy pro Jakob13009
when your done find the file PFDEMO and click on it
0そうだね
プレイ済み
返信[53]
親投稿
crazy pro Jakob13009
once you click on it then find MCDEMO then click on it
0そうだね
プレイ済み
返信[54]
親投稿
crazy pro Jakob13009
woops agian heres the picture
0そうだね
プレイ済み
返信[55]
親投稿
crazy pro Jakob13009
once you click on it exit it then go back to NNNNNN then when you press:a it will work every time you see 'syntax error' then go to mcdemo agian
0そうだね
プレイ済み
返信[56]
親投稿
Quote QuoteGamer
No, James, I didn't say I was. I just said it makes me feel as though I am higher due to the knowledge of grammar. Just, chill out, bro.
0そうだね
プレイ済み
返信[57]
親投稿
James fourtyman
@☆★Declan★☆: Hi, Declan! I'd be grateful for your help. Simple programs should be a great start for me. @crazy pro: Okay, I'm reading through your comments… …Alright! Thank you! Now, time to check this out… @[DM]Quote: I wasn't freaking out about it. (I was trying to be stern.) But yeah, I'm sorry; I just wanted to point it out, 'cause, to me, you sounded prideful… in the bad sense of the word.
0そうだね
プレイ済み