Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upside-Down Big Text
#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


Messages In This Thread
Upside-Down Big Text - by SierraKen - 02-21-2025, 07:24 PM
RE: Upside-Down Big Text - by Jack002 - 02-22-2025, 12:31 AM
RE: Upside-Down Big Text - by SierraKen - 02-22-2025, 01:52 AM

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,324 06-14-2024, 10:00 PM
Last Post: SMcNeill
  Word (text) processor krovit 19 4,398 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)