#45859 - Toadhead - Wed Jun 15, 2005 10:00 pm
gfx2gba is confusing me ALOT!
I readed the readme like 30 times but it couldnt help me.
Look, I want to have 2 backgrounds for my game and I want 2 sprites.
How am I going to do this?
This is how I think everything needs to be done:
Background
If you have a 256 colors background you'll need to get 3 type of files: BG.pal.c and BG.raw.c and BG.map.c
(question one: why 3 different files? And what does every file do (what is it function)?
You get get this by typing: "gfx2gbx -x -fsrc -m BG.BMP" (right?)
Sprites
You'll need to get the following 2 (?) file types of your sprite.BMP:
sprite.pal.c and sprite.raw.c
(question 2: were do these files types stnad for? pallete is for colors or something and raw.c is for ...)
What if I want to create 2 sprites that look the same? Can I use the same sprite.pal.c file? And also the same sprite.raw.c??
And how do I MAKE these 2 sprite filetypes? The same way as with the background: "gfx2gbx -x -fsrc sprite.BMP" ?? Because I get some strange pixels colored on my screen when I try to run a program with these files. Some blocks with alot of colored pixels but they dont look like my sprites. (only the backgrounds work)
I readed the readme like 30 times but it couldnt help me.
Look, I want to have 2 backgrounds for my game and I want 2 sprites.
How am I going to do this?
This is how I think everything needs to be done:
Background
If you have a 256 colors background you'll need to get 3 type of files: BG.pal.c and BG.raw.c and BG.map.c
(question one: why 3 different files? And what does every file do (what is it function)?
You get get this by typing: "gfx2gbx -x -fsrc -m BG.BMP" (right?)
Sprites
You'll need to get the following 2 (?) file types of your sprite.BMP:
sprite.pal.c and sprite.raw.c
(question 2: were do these files types stnad for? pallete is for colors or something and raw.c is for ...)
What if I want to create 2 sprites that look the same? Can I use the same sprite.pal.c file? And also the same sprite.raw.c??
And how do I MAKE these 2 sprite filetypes? The same way as with the background: "gfx2gbx -x -fsrc sprite.BMP" ?? Because I get some strange pixels colored on my screen when I try to run a program with these files. Some blocks with alot of colored pixels but they dont look like my sprites. (only the backgrounds work)