プレイ日記
Trabajon Leyenda_17
I'm honestly feeling a little demotivated, to point I want to 3d model for some time, but heres my HELLO WORLD program. The only problem is I can't find the way to not make instruction text move. >_<
1そうだね
プレイ済み
返信[1]
親投稿
Guy brilliance360
So smilebasic has a sort-of autoscroll function built into the PRINT command. So when the program prints "HELLO! : D" over and over, eventually it reaches the bottom limit of where smilebasic can print and it scrolls all of the text up. To fix this, you just need to fix the LOCATE command just before (at line 14). Just include a "Y" value and it'll work.
1そうだね
プレイ済み
返信[2]
親投稿
Guy brilliance360
Also, cool picture of a sun!
1そうだね
プレイ済み
返信[3]
親投稿
Trabajon Leyenda_17
I want the HELLO to go up only, not the instructions inclusion I mean.
0そうだね
プレイ済み
返信[4]
親投稿
*J.P.* DEV NEWPICY3
do like this, locate x,y:PRINT "hello world" wait 10:INC X,1 (this should slowly move it up) ..actually it might be DEC X,1 (you can test around)
1そうだね
未プレイ
返信[5]
親投稿
Trabajon Leyenda_17
I like the part of pressing the buttons to produce one each. It rewards you with retro sound effects.
0そうだね
プレイ済み
返信[6]
親投稿
Trabajon Leyenda_17
LOCATE x,y,: PRINT hello world If PRESS == TRUE then x,y -1 ? I'm a little tired so that kind of explains it.
0そうだね
プレイ済み
返信[7]
親投稿
*J.P.* DEV NEWPICY3
do you want both x and y to move? another way to do it is if BUTTON() AND #DOWN THEN X=X+1:Y=Y+1 (OR -1) Also you cant do x,y-1 or anything like that, they have to be separate like x+1:y+1 but you cant do that, just do x=x+1:y=y+1 (and if in an if do two ='s)
0そうだね
未プレイ
返信[8]
親投稿
Trabajon Leyenda_17
Sideway no, up and down yes. o.o Gonna try it later.
0そうだね
プレイ済み