プレイ日記
Reshiramax Reshiramax
I'm trying to make scrolling text... Any suggestions to clear up the clutter?
0そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
What exactly do you mean by scrolling text? Anyways, to clear text you can either use CLS, which clears the entire console, or print spaces over the text. The second method works best to "erase" certain portions of the console.
0そうだね
プレイ済み
返信[2]
親投稿
Reshiramax Reshiramax
What I mean by scrolling text is like how in most RPGs the letters in dialogue show up on screen one by one, hence why I showed a picture of what I was trying to accomplish
0そうだね
プレイ済み
返信[3]
親投稿
Oscar PwnageBlock
Refer to my screenshot. It's best to write text one character at a time using a custom user-defined function, in this case the function SCRLL, as writing it manually would take a considerable amount of extra code and patience. Feel free to use and modify the function in my screenshot.
1そうだね
プレイ済み
返信[4]
親投稿
Reshiramax Reshiramax
How'd you make the ' sign , before SCRLL in the first line, to become gray?
0そうだね
プレイ済み
返信[5]
親投稿
Oscar PwnageBlock
That's just a comment. Comments are pieces of text ignored by the program (they don't do anything) and are used to document your code. You can write comments with the ' symbol, which is green and appears in the bottom-right of the SB keyboard.
0そうだね
プレイ済み
返信[6]
親投稿
Reshiramax Reshiramax
I mean, how'd you give it have a function? I know it usually is green, but how did you make it gray/give it a function, in the first line?
0そうだね
プレイ済み
返信[7]
親投稿
Oscar PwnageBlock
You can change the colors of everything in the Options menu. All I did was change the comment color to be gray. As of 3.3.0 changing colors is bugged and simply doesn't work, however. The comment contains a function simply because I wanted to write it for reference. (AKA easy to read documentation.)
0そうだね
プレイ済み
返信[8]
親投稿
Reshiramax Reshiramax
Well it says that there's an error in the second line...
0そうだね
プレイ済み
返信[9]
親投稿
Oscar PwnageBlock
Show me your code. Maybe I can help.
0そうだね
プレイ済み
返信[10]
親投稿
MSWS coolestkid123
Heres my custom function. I made a few features
0そうだね
プレイ済み