Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

A question about character sprites

Jikito

Member

is it possible to use sprites larger then 32x64 when making a game? they seem so tiny.. or is it pretty much locked to this sprite size?
 
As far as i know Each character is contained in a single file. This file can be any size, and is laid out with the character facing all four directions (down, left, right, and up) and going through four frames of movement, for a total of 16 frames. The size of the actual character will be 1/4 the height and 1/4 the width of the entire bitmap, and there are no limits on character size.
 

khmp

Sponsor

Jikito;306712 said:
Thank's ill try 64x128.

My next question is, is it posible to modify screen reselution of actual game or is it locked at 640x480.

Yes as I've learned recently it is possible to have a larger resolution than 640x480. And about the character sprites. The way character graphics are split is into 16 frames. So lets say you have a 256x256 character graphic. When its loaded it'll be diced up into 16 rectangles. With a 256x512 image each frame will be 64x128. So the width of each frame is 256/4 and the height on the other hand is 512/4.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top