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)
File Line Function
/inc/class_error.php 153 errorHandler->error
/printthread.php(287) : eval()'d code 2 errorHandler->error_callback
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



Freeplaytech Forum
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


How to create Sprites For NGPC? - NeoGeoFreak2004 - 03-21-2022

Hey yall, so i am planning on making a sprite test for the ngpc but what program is best for creating ngpc sprites? why do i ask this question. because i after i make a sprite test for the neo-geo pocket color, i wil try to make my own game for the ngpc. but anyways how do i create the sprites for the ngpc?


RE: How to create Sprites For NGPC? - sodthor - 03-22-2022

Maybe you can try NeoTile
From Chris Ahchay's blog, a tutorial: https://ahchayblog.wordpress.com/2018/03/19/ill-get-you-my-pretty/
There is a link to his one drive to download the software.


RE: How to create Sprites For NGPC? - KeiDash - 03-24-2022

You can use any software that allow you draw in pixel art, something like Photoshop, PyxelEdit, Paint, etc. To convert an image to a compatible ngpc c code, you can use this software that I made.

https://github.com/ameliandev/Bitmap2NGP


RE: How to create Sprites For NGPC? - NeoGeoFreak2004 - 03-25-2022

(03-24-2022, 04:50 AM)KeiDash Wrote: You can use any software that allow you draw in pixel art, something like Photoshop, PyxelEdit, Paint, etc. To convert an image to a compatible ngpc c code, you can use this software that I made.

https://github.com/ameliandev/Bitmap2NGP

thanks for the comment, i will try to get the ball rolling on making sprites next week!


RE: How to create Sprites For NGPC? - NeoGeoFreak2004 - 06-16-2022

Update: so anyways i tried to convert a sprite, and it gave me 2 error messages. the errors say: - screen plane not established.
- at least one color is required. IDK what to do so can you guys help me please!


RE: How to create Sprites For NGPC? - sodthor - 06-16-2022

(06-16-2022, 01:52 AM)NeoGeoFreak2004 Wrote: Update: so anyways i tried to convert a sprite, and it gave me 2 error messages. the errors say: - screen plane not established.
- at least one color is required. IDK what to do so can you guys help me please!

It seems to be related to "Required parameters":r
Code:
     FILEPATH        give de complete path of the tiled image.
     PLANE           sets the destination plane of the console. Possible options
                     are PS = SPRITE_PLANE, P2 = SCR_2_PLANE, P1 = SCR_1_PLANE.
     RGBCOLOR1       a minimun required color. Sets the R G B color without
                     Alpha channel. Format => R,G,B. Example 128,2,88.
As explained in the examples, you have to give the colors to use (1 minimum and up to 3):

bitmap2ngp.exe ./tiledImage.png PS 68,68,68 100,145,255 255,0,0

Reading the product documentation is sometimes useful...


RE: How to create Sprites For NGPC? - NeoGeoFreak2004 - 09-13-2022

UPDATE: I Just made my first sprite via bitmap2ngpc. but here is the problem, i want to include it in my c code! idk what to do anymore. so, can you guys help me please?


RE: How to create Sprites For NGPC? - Flavor - 10-01-2022

Hey sodthor or KeiDash,

Could you guys help NeoGeoFreak2004? I haven't done this for many years now.

I assume that bitmap2ngpc is outputting a .c or .h file.

Then, as they mention in https://ahchayblog.wordpress.com/2018/03/19/ill-get-you-my-pretty/, you can do something like [#include "faces.c"] in your C code. Is that correct?

I just looked at https://github.com/ameliandev/Bitmap2NGP and it seems to have options (-I, -P, -D) that generate some code that are not just a header like the "I'll get you" article shows.

NeoGeoFreak2004, maybe you can post the output that bitmap2ngpc produced and the commandline you used.


RE: How to create Sprites For NGPC? - NeoGeoFreak2004 - 10-01-2022

Sorry i don’t remember what the command was but I know the output, it outputted a .c file for the converted sprite.


RE: How to create Sprites For NGPC? - Flavor - 10-01-2022

I assume the .c file will have the sprite (as an array) and maybe some code to load the sprite.