- 2
- Posts
- 1
- Years
- Seen Apr 30, 2024
I'm making a simple sprite replacement mod, switching out May's sprite.
However, my custom sprite is wider than May's sprite is (running to the side is 18 pixels wide)
Below is May's running sprite (144x32, using 16 pixels per sprite), as long as my custom one (168x32, 18 pixels per sprite)
![[PokeCommunity.com] Graphics - Change Pokeemerald Run Animation [PokeCommunity.com] Graphics - Change Pokeemerald Run Animation](https://data.pokecommunity.com/attachments/72/72956-85df2407ee6f7d471e3929aa715714b0.jpg)
![[PokeCommunity.com] Graphics - Change Pokeemerald Run Animation [PokeCommunity.com] Graphics - Change Pokeemerald Run Animation](https://data.pokecommunity.com/attachments/72/72957-f73a5d53adf7f3cb6afae799ef876116.jpg)
When attempting to compile, Ubuntu gives me this error:
However, my custom sprite is wider than May's sprite is (running to the side is 18 pixels wide)
Below is May's running sprite (144x32, using 16 pixels per sprite), as long as my custom one (168x32, 18 pixels per sprite)
![[PokeCommunity.com] Graphics - Change Pokeemerald Run Animation [PokeCommunity.com] Graphics - Change Pokeemerald Run Animation](https://data.pokecommunity.com/attachments/72/72956-85df2407ee6f7d471e3929aa715714b0.jpg)
![[PokeCommunity.com] Graphics - Change Pokeemerald Run Animation [PokeCommunity.com] Graphics - Change Pokeemerald Run Animation](https://data.pokecommunity.com/attachments/72/72957-f73a5d53adf7f3cb6afae799ef876116.jpg)
When attempting to compile, Ubuntu gives me this error:
Is there a way to use my sprites as they are?tools/gbagfx/gbagfx graphics/object_events/pics/people/may/running.png graphics/object_events/pics/people/may/running.4bpp -mwidth 2 -mheight 4
libpng warning: bKGD: invalid index
The width in tiles (21) isn't a multiple of the specified metatile width (2)
make: *** [spritesheet_rules.mk:99: graphics/object_events/pics/people/may/running.4bpp] Error 1