Author Topic: Sprites Sizes  (Read 3924 times)

0 Members and 1 Guest are viewing this topic.

MitchellVirgil

  • Newbie
  • *
  • Posts: 5
  • Sah Doods!
    • View Profile
Sprites Sizes
« on: August 21, 2016, 05:11:45 PM »
Hey Folks! I was wondering if you can use sprites larger than the default? Approximately 45 pixels, and if so, how? Thanks!

Diarandor

  • Hero Member
  • *****
  • Posts: 1062
  • Cats are cool! (ΦωΦ)
    • View Profile
Re: Sprites Sizes
« Reply #1 on: August 22, 2016, 03:05:04 AM »
Yes, you can. Sprites can have any size.

PS: You don't say it, but I guess your purpose is to use bigger sprites for the hero, isn't it? In that case, you should not mix up the size of the sprite and the size of an entity, they are different things. Sizes of entities must be multiples of 8. However, the sprite of the hero can only be 16x16 at present, so if you use a very big sprite you may have problems because of the small size of the hero (it would have a weird effect against walls), so take this into account.
“If you make people think they're thinking, they'll love you. But if you really make them think, they'll hate you.”

Nilbot

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Portforlio
Re: Sprites Sizes
« Reply #2 on: September 21, 2016, 01:18:13 AM »
I have found that the bigger the size of the average sprite the slower the game tends to move.
keep that in mind if you plan on having a more than a few on screen. Your size should be fine though.