Author Topic: Sprite Sizes  (Read 6575 times)

0 Members and 1 Guest are viewing this topic.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Sprite Sizes
« Reply #15 on: May 05, 2010, 12:58:46 am »
I use 8xA in Project M, where A can be any height. In F-Zero, there are various sizes.

What's an example of a sprite you use where A is greater than 8?

Most of the sprites in S.A.D. are 8 x 8, 16 x 16, or 32 x 32.  (Actually, in S.A.D., 32 x 32 is not uncommon)  However, there are a couple of unusual sizes, such as 32 wide by 23 high
Well, my Koopa sprites are 14 pixels high I believe, and Mario used to be 10 and 12 pixel tall sprites for his two sizes, though now I have split him into two smaller sprites. The Thwomp is made of two 8x16 sprites.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: Sprite Sizes
« Reply #16 on: May 05, 2010, 02:48:36 am »
I usually use a similar setup for sprites. I guess really it depends on what you require the sprite for since you may need all sorts of different sizes.

Most people either have a table full of sprite sizes (w,h) or prefix the information to the sprite data itself. This helps since you often have to refer to the sizes of your sprites for various things (for example collisions (though in most cases i have seperate data that stipulates the collision zones for any sprites)).
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."