I have a few basic questions I'd appeciate answers to
Theres no such thing as a stupid question
1. How possible is Sunset Riders on a PC Engine? And what format is going to be the best balance (like I doubt it would need an arcade card, but a Hucard may be too small)
This has CD game written all over it.
2. I guess this is dependant on the format too, but how many distinct tiles could you get away with in a game? Does it depend on the level? Can you get away with loading a single level in sections?
With a CD, infinite, theoretically here. If you use chip music and save the CD, you could stream tiles to VRAM on the fly. IIRC, Dynasty Wars does this:
http://pcengine.co.uk/HTML_Games/Dynasty_Wars.htmIf you take the CD out and keep playing, the background starts to disappear as you scroll, lol
3. Wikipedia says the PCE can handle 482 colours on screen out of 512 - is that correct? And is that in all circumstances?
You have
Background: (16 palettes * 15 colors) + 1 shared color that every palette uses = 241
Sprites: (16 palettes * 15 colors because 1 of them is transparent) = 240
So, 481 colors.
I guess you could say 482, but transparent is not visible, so what the hells the point.
4. I found this http://pcengine.freeforums.org/pc-engine-colour-palette-for-artists-t60.html - does this mean when I make a 16x16 sprite, I have to use one of these set palettes?
No, you define your palettes yourself, usually by using a library function that reads the image you are using. it extracts the palette from it. This means you could have one palette that is blues (for water maybe?) and another that is green (for grass stuff), and then one that is a mix of some greens and blues, maybe for a robot?
This is not to say that a sprite can use multiple palettes. It can't. You can just duplicate colors within various palettes. Each sprite can still only use 1 palette... so if you want red and blue on a sprite, you had better put red and blue in the palette you assign to it.
5. Am I right in thinking a 32 x 32 sprite is made of 4 16 x 16 sprites?
Not exactly. a 32x32 sprite is ONE sprite. It is just loaded in 16x16 chunks. The hardware treats it as one single sprite.
you can have 16×16, 16×32, 16×64, 32×16, 32×32, and 32×64
6. Is there a tool to take a picture and automatically convert it into the PCE's palette?
Just use a paint program that supports PCX. I prefer NeoPaint, or Grafx2
you then can just include the image in your code and let a library function create a palette for you, easy.
As long as you make sure the colors you use in the paint program are 9bit (RGB values in steps of 36)
Note: Photoshop saves PCX palettes backwards. You can use GIMP to flip it back to normal.