Jump to content



0

letters...


1 reply to this topic

#1 Ruffsta OFFLINE  

Ruffsta

    Star Raider

  • 78 posts

Posted Thu Dec 22, 2005 9:06 PM

khryssun, so the following draws a pac-man?

Quote

Sprite_Data

              .byte #%00011000

              .byte #%00111100

              .byte #%01111110

              .byte #%01101110

              .byte #%11111111

              .byte #%11111000

              .byte #%11100000

              .byte #%11111000

              .byte #%11111111

              .byte #%01111110

              .byte #%01111110

              .byte #%00111100

              .byte #%00011000

              .byte #%00000000

i am assuming the same applies for a letter correct? if so how do you put an even amount of space in between each letter.. say like if i made 3 pac-man's in a row and i wanted an even amount of space between each? i ask because i want to spell my member name: Ruffsta

thanks in advance :)

Edited by Ruffsta, Thu Dec 22, 2005 9:18 PM.


#2 MayDay OFFLINE  

MayDay

    Chopper Commander

  • 207 posts

Posted Tue Dec 27, 2005 12:38 PM

Ruffsta, on Thu Dec 22, 2005 9:06 PM, said:

khryssun, so the following draws a pac-man?

Sprite_Data
              .byte #%00011000
              .byte #%00111100
              .byte #%01111110
              .byte #%01101110
              .byte #%11111111
              .byte #%11111000
              .byte #%11100000
              .byte #%11111000
              .byte #%11111111
              .byte #%01111110
              .byte #%01111110
              .byte #%00111100
              .byte #%00011000
              .byte #%00000000

i am assuming the same applies for a letter correct? if so how do you put an even amount of space in between each letter.. say like if i made 3 pac-man's in a row and i wanted an even amount of space between each? i ask because i want to spell my member name: Ruffsta

thanks in advance :)

View Post


Yes, this will allow you to draw 1-2 letters side by side (however many you can fit using 8 pixels). If you want more, you'll have to eventually learn the 48 pixel sprite techniques (not simple) or you can make the sprite text vertical (and take up to all 192 scanlines to do so). Another option to get much bigger, blockier text or numbers is to use the playfield instead of sprites to create your name. You should be able to do this once you've finished the "asymettrical playfields" section of Andrew's tutorials.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users