![]() |
|
How to include sprite sheets in ngpc code? - 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 include sprite sheets in ngpc code? (/showthread.php?tid=5472) |
How to include sprite sheets in ngpc code? - NeoGeoFreak2004 - 06-18-2024 Hey guys so quick question, I just made a simple sprite sheet that I converted to a c header using the image2ngpc codeimage script and I want include it in my code so how do I include it in my code. RE: How to include sprite sheets in ngpc code? - KeiDash - 12-08-2024 (06-18-2024, 12:40 PM)NeoGeoFreak2004 Wrote: Hey guys so quick question, I just made a simple sprite sheet that I converted to a c header using the image2ngpc codeimage script and I want include it in my code so how do I include it in my code. Hello ngFreak! You must now include the load using the ngpc .c libraries in the old but functionallity v4 framework using InstallTilePallete and InstallTileSetAt methods. One, load the color pallete, the other, displays the sprites in the selected screen plane. RE: How to include sprite sheets in ngpc code? - NeoGeoFreak2004 - 01-08-2025 (12-08-2024, 07:45 PM)KeiDash Wrote:Okay, can you give me a example of a piece of code that uses these functions?(06-18-2024, 12:40 PM)NeoGeoFreak2004 Wrote: Hey guys so quick question, I just made a simple sprite sheet that I converted to a c header using the image2ngpc codeimage script and I want include it in my code so how do I include it in my code. RE: How to include sprite sheets in ngpc code? - KeiDash - 01-16-2025 The best way to see it is taking a look at the free project called maxidemo and in parallel, follow the Chris Ahchay tutorials. If you have the compiler binaries, you should have it in the same folder. In any case, I share it in this post. |