プレイ日記
Dang it! how the heck can i do inputs again?! this is stupid. i'm so terrible...
0そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
To use INPUT you need to specify a guiding string, and a variable that'll hold the input. It follows this syntax... INPUT <Guiding string>,Variable So you could do something like... INPUT "Command: ",CMD$
1そうだね
プレイ済み
返信[2]
親投稿
gavingamer gavingamer
if your stuck here is how it's supposed to be done- input "what is your name";name$
1そうだね
未プレイ
返信[3]
親投稿
Thanks. it works really well. but in trouble trying to place sprites...i know how to place them but idk how to make them bigger and place them anywhere i want. its so confusing...help?
0そうだね
プレイ済み
返信[4]
親投稿
gavingamer gavingamer
i wish i could help you there, i don't have a full grasp at basic yet. if it was GML or Java i could help you.....
0そうだね
未プレイ
返信[5]
親投稿
gavingamer gavingamer
actually....how do you place sprites or play sounds?
0そうだね
未プレイ
返信[6]
親投稿
il tell you how to place sounds. try typeing in BEEP (Number) and it will play a sound of your choice. you can check the BEEP section on the SMILE button to see what numbers to type in to play that sound. so for example: if you type in BEEP 9...it will play the "Put" sound. got it?
0そうだね
プレイ済み
返信[7]
親投稿
gavingamer gavingamer
could i use the "beep" function to make it talk?
0そうだね
未プレイ
返信[8]
親投稿
idk...maybe not. if you want it to talk try typeing in TALK "(Type anything you want)". but the TALK only speaks in japanece so if your using english letters then it would say incorrectly. but i heard about a advanced way to pronounce it correctly in english and a way to change the voice so maybe you can talk to advanced users about it. idk. try it.
0そうだね
プレイ済み
返信[9]
親投稿
Oscar PwnageBlock
To change a sprite's location use SPOFS. It follows this syntax: SPOFS <Management #>,<X coordinate>,<Y coordinate> So you could do something like this... SPOFS 1,200,120 ...to place sprite 1 at point (200,120). To scale a sprite (make it bigger) you can use SPSCALE. It follows this syntax: SPSCALE <Management #>,<X scale>,<Y scale> Sou you could do something like SPSCALE 1,4,4.
1そうだね
プレイ済み
返信[10]
親投稿
Thats just too confusing. i don't even know what numbers to type in. can you tell me what the numbers mean? like what the first number does in SPOFS? i'm just stumped right now.
0そうだね
プレイ済み
返信[11]
親投稿
And how can when you put in the wrong input it says "Thats not a commend." and returns to inputing till you get it right?
0そうだね
プレイ済み
返信[12]
親投稿
Oscar PwnageBlock
I suggest you read this entry of the e-manual: http://smilebasic.com/en/e-manual/manual35/ Basically, the first number is the sprite's ID. It will be unique for every different sprite and represents it. You use it with pretty much all sprite related instructions. You assign this ID when calling SPSET. It's the first number you specify.
0そうだね
プレイ済み
返信[13]
親投稿
Oscar PwnageBlock
Coordinates are handled similarly to how they would in a Cartesian plane, with the exception that the Y coordinate is reversed. X goes from 0 to 399, starting from the left side of the screen (left to right). Y goes from 0 to 239, starting from the top of the screen (top to bottom).
0そうだね
プレイ済み
返信[14]
親投稿
Thanks. i can now place them correctly. plus, i forgot how to fill the whole background at once with a single BG sprite...you know how?
0そうだね
プレイ済み
返信[15]
親投稿
gavingamer gavingamer
here is how to make a command system thingy @command input "command- ";command$ if command$ == "end" then print "game is now ending" end if command$ == "start" then cls print "welcome to the smile quest rp part 1" wait 270 cls print "let's begin" goto @aftercommand print "sorry that's not a command" goto@command @aftercommand
1そうだね
未プレイ
返信[16]
親投稿
gavingamer gavingamer
how do you save projects?
1そうだね
未プレイ
返信[17]
親投稿
On the Direct Mode type in SAVE "(Enter the name of your program.)" and they will be saved and moved into the active forder. you know. with the red checkmark.
0そうだね
プレイ済み
返信[18]
親投稿
gavingamer gavingamer
thanks! i have been wondering how to do that for awhile now!
0そうだね
未プレイ
返信[19]
親投稿
Ep17 EmPx17
did you get the idea to make a command thing from my question about how to make a console? because were both making a console at the same time. O_o
0そうだね
プレイ済み
返信[20]
親投稿
@Ep17 i don't understand what you just said... :l
0そうだね
プレイ済み
返信[21]
親投稿
Ep17 EmPx17
the input thing where you type commands, its called a console and i was wandering if you got the idea for making one from my post because i was making one too
0そうだね
プレイ済み
返信[22]
親投稿
@Ep17 Oh. well i didn't saw your post. i didn't yeah or comment cause i haven't saw your post.
0そうだね
プレイ済み