Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create Sprites For NGPC?
#11
here is the output of the command for the program:bitmap2ngp -i ./1stTest.png P1 68, 68, 68
Reply
#12
(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.
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply
#13
(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

I think there isn't anything attached, NeoGeoFreak2004.
 
Alrighty, here is the sprite that was converted to a .c file and made via bitmap2ngp.


Attached Files
.c   b2ngp.c (Size: 26.02 KB / Downloads: 3)
Reply
#14
(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

I think there isn't anything attached, NeoGeoFreak2004.
 
Alrighty, here is the sprite that was converted to a .c file and made via bitmap2ngp.

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


Attached Files
.zip   sample.zip (Size: 31.44 KB / Downloads: 9)
Reply
#15
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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)