Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upside-Down Big Text
#1
Convert up to 13 letters, symbols, or numbers into upside-down. 
Strange though how I couldn't use CLS instead of the second Screen NewImage at the bottom, or even after the INPUT line (if I put SCREEN before the DO). It just blacks out the screen for some reason with CLS without making the large text. 

Code removed because of possible too much memory used in loops. Fixed version is below.
Reply
#2
COOL!
Cool Cool Cool Big Grin
______________________________
I'm with you fellers
Reply
#3
I removed the loop, just in case having too many SCREEN _NEWIMAGE lines take up too much computer memory.  
So here is a much cleaner version: 

Code: (Select All)

start:
Input "Word to make upside-down (up to 13 letters, symbols, or numbers: ", word$
If Len(word$) > 13 Then GoTo start
Screen _NewImage(800, 600, 32)
Locate 1, 32
Color 1
Print word$
letters = Len(word$)
ll = (letters * 8) - 2
cent = (_Width / 2)
For I = 248 To 248 + ll Step .15
    jj = 0
    For j = 15 To 0 Step -.15
        jj = jj + .15
        If Point(I, j) > 0 Then
            Line ((I - 196) * 4, jj * 4 + 50)-((I - 196) * 4 + 2, jj * 4 + 52), _RGB32(0, 0, 0), BF
        Else
            PSet ((I - 196) * 4, jj * 4 + 50), _RGB32(255, 255, 255)
        End If
    Next j
    jj = 0
Next I
Sleep
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Text Effects 2 2112 6 659 10-30-2025, 11:13 PM
Last Post: Unseen Machine
  Text Encryption-Decryption 2112 6 736 10-21-2025, 11:51 AM
Last Post: euklides
  Exercise with picture and text Kernelpanic 10 2,322 06-14-2024, 10:00 PM
Last Post: SMcNeill
  Word (text) processor krovit 19 4,393 09-02-2023, 04:38 PM
Last Post: grymmjack
  big factorial Jack 2 822 04-28-2023, 04:43 PM
Last Post: Kernelpanic

Forum Jump:


Users browsing this thread: 1 Guest(s)