トピック
doritolord doritolord50

i need help...

im trying to make text appear in a random location and im trying to do it like this: b=randomize ... repeat locate b,b print (some text, this isnt what it said) wait (i forget) pls help
0そうだね
プレイ済み
返信[1]
親投稿
PChicken NerdChicken
RND() is the random function. RANDOMIZE is the random seed comand. (you won't need this, really) The way you are doing it will have the x and y of the text the same. Try X=RND(whatever the width of the console is minus the length of your text) Y=RND(whatever the height of the console is) LOCATE X,Y PRINT "text"
0そうだね
プレイ済み
返信[2]
親投稿
V.G.Lover messi-416
if you want to just put text in a specific location all the time put LOCATE (xperamiter),(yperamiter):PRINT "put text here"
0そうだね
プレイ済み
返信[3]
親投稿
PChicken NerdChicken
vg, he knows that already also the colon in your code is unnecessary.
0そうだね
プレイ済み
返信[4]
親投稿
doritolord doritolord50
pc chicken i just tried that but when the text shows up it just pops up in one spot over and over again. i want it to pop up multiple times in different locations each time.
0そうだね
プレイ済み