? Basic Textboxes. ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password
Another contest? You asked for it!

Basic Textboxes.

In this tutorial I will teach you how to make a simple text box. A simple text box: This is just simply a box with text in it that disappears when the A button is pressed: PRINT "_____________________ PRINT "IHELLO WORLD!!!!!!II PRINT "--------------------- That prints the text box(Yes I know the text box looks terrible but in SmileBASIC there are text characters that can be used to make proper Text Boxes). Now to make the text box disappear when A is pressed(Put this under the textbox: WHILE 1 IF BUTTON() AND #A THEN BREAK WEND CLS And that's it, simple right.
Author
JINC_DEV
Updated
Rating
0 votes
Categories
Keywords
6 Comment(s) KingCo KingCo Video Games I like to play video games! Hobbies RNG Hidden Easter Eggs Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Not to hate on this, as it may help some beginners, but there is already a few lines of code I found through the Dungeon Tanken game (in the samples folder) that generates a box made out of text characters. Your suggestion may take up less space in the code though, but I would need to check. DaSonicMario DaSonicMario Forum Contributor Hidden Achievements Video Games I like to play video games! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength the one i have that uses DEFs is still better KingCo KingCo Video Games I like to play video games! Hobbies RNG Hidden Easter Eggs Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Would you care to explain it instead of just saying it uses DEFs? DaSonicMario DaSonicMario Forum Contributor Hidden Achievements Video Games I like to play video games! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength it's a bit long plus i can't remember the code i'm playing a game that doesn't have saving ATM so i'll tell you later DaSonicMario DaSonicMario Forum Contributor Hidden Achievements Video Games I like to play video games! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength sorry about forgetting, but here's the code: to be edited in because it's not letting me upload the picture (PRESSA just halts the code until A is pressed and WAITSEC is for waiting for seconds) (the reason i can't just use CODE is it uses characters from SmileBASIC that aren't on my keyboard) DaSonicMario DaSonicMario Forum Contributor Hidden Achievements Video Games I like to play video games! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength i have a better one that uses DEFs