| The following warnings occurred: | |||||||||||||||
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.1.34 (Linux)
|
![]() |
|
How to create Sprites For NGPC? - Printable Version +- Freeplaytech Forum (https://forum.freeplaytech.com) +-- Forum: Neo Geo Pocket (https://forum.freeplaytech.com/forumdisplay.php?fid=1) +--- Forum: Software Development (https://forum.freeplaytech.com/forumdisplay.php?fid=4) +--- Thread: How to create Sprites For NGPC? (/showthread.php?tid=5309) Pages:
1
2
|
RE: How to create Sprites For NGPC? - NeoGeoFreak2004 - 10-01-2022 here is the output of the command for the program:bitmap2ngp -i ./1stTest.png P1 68, 68, 68 RE: How to create Sprites For NGPC? - Flavor - 10-02-2022 (10-01-2022, 11:34 AM)NeoGeoFreak2004 Wrote: here is the output of the command for the program:bitmap2ngp -i ./1stTest.png P1 68, 68, 68 I think there isn't anything attached, NeoGeoFreak2004. RE: How to create Sprites For NGPC? - NeoGeoFreak2004 - 10-03-2022 (10-02-2022, 01:29 AM)Flavor Wrote:(10-01-2022, 11:34 AM)NeoGeoFreak2004 Wrote: here is the output of the command for the program:bitmap2ngp -i ./1stTest.png P1 68, 68, 68 Alrighty, here is the sprite that was converted to a .c file and made via bitmap2ngp. RE: How to create Sprites For NGPC? - sodthor - 10-04-2022 (10-03-2022, 10:49 AM)NeoGeoFreak2004 Wrote:(10-02-2022, 01:29 AM)Flavor Wrote:(10-01-2022, 11:34 AM)NeoGeoFreak2004 Wrote: here is the output of the command for the program:bitmap2ngp -i ./1stTest.png P1 68, 68, 68 You're file is full of 0x0000 meaning that you did not give the correct rgb values to bitmap2ngp. Attached, you'll find a sample with a single 8x8 sprite. I generated the b2ngp.c file with this command line: bitmap2ngp d:\dev\ngpcdev\src\sample\sprite.png P1 237,28,36 255,255,255 because the image contains a red circle (color 237,28,36) filled by white (255,255,255) you can have up to 3 colors but set the corresponding values in the command line! btw, bitmap2ngp did not generate a valid array for my png, I had to comment some lines (see b2ngp.c), but yours seems correct. Sprites are only 8x8 on ngpc, if you want bigger one, you'll have to display it by yourself (16x16 -> 4 sprites 8x8) Thor RE: How to create Sprites For NGPC? - NeoGeoFreak2004 - 11-30-2022 Update: so anyways I wanted to get back into ngpc dev but there is a graphics program that is called neotile. Should I use that for sprites on the ngpc and just make the games graphics using neotile? |