? Variable Width Text Library ● SmileBASIC Source

Sign In

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

Variable Width Text Library

Submitted
Updated
Author
12Me21
Public Key
4K24P3MD
Min. Compat.
All
Size
1.5 MB
Rating
5 votes
Description Display variable width text using graphics! Supports fonts up to 32 px high! Instructions 1: LOAD "VFONT.LIB",0 : EXEC 1 2: load font using VFONT or VFONTSIMPLE: VFONTSIMPLE file$,size ex: VFONTSIMPLE "COMIC_SANS_MS",32 3: use VTEXTBOX to define the text printing area: VTEXTBOX x,y,width,height (default is 0,0,400,240 (whole screen) ) ex: VTEXTBOX 1,1,398,238 4: use VPRINT or VCENTER to display text: VPRINT text$, VCENTER text$ ex: VPRINT "test" see the included file HELP.TXT for more information
Categories
Keywords
6 Comment(s) Rainstorm Rainstorm Night Person I like the quiet night and sleep late. Express Yourself Halloween 2017 Contest Participant I participated in the SmileBASIC Source Halloween 2017 Contest! Programming Contest Special Admin Hidden Easter Eggs If you use this in your programs, then I think it's good (I'm convinced you don't display text how most do but I'm not sure as to what method you do use). If only I'd take time to learn how I can use this ... [EDIT]: How do you write 12Me21 in some programs where each set of 1 & 2 is one character? MasterR3C0RD MasterR3C0RD Helper Received for being very helpful around SmileBASIC Source Achievements Second Year My account is over 2 years old Website osu! Is Awesome! I love osu! Express Yourself Why Comic Sans? 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Why not Comic Sans? MasterR3C0RD MasterR3C0RD Helper Received for being very helpful around SmileBASIC Source Achievements Second Year My account is over 2 years old Website osu! Is Awesome! I love osu! Express Yourself Because Comic Sans sucks TheV360 TheV360 April Fool's 2017 Contest Winner I won the SmileBASICSource April Fool's 2017 Contest! Programming Contest First Day Joined on the very first day of SmileBASIC Source Website Night Person I like the quiet night and sleep late. Express Yourself but comic sans is the best font of all time!!! 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Because comic sans is one of the most well-known fonts.