Hi,
I'm trying to write my first game for PPC (I have already coded some apps on win32 with C & API). The way I have choosen is the hard one (at least it seem so to me), use C and GAPI, without any library/framework. I have read Larry Bank's tutorial and some other docs from the web (and your old posts). Now here is my list of questions:
1. Which is the correct procedure to draw scene on the screen?
I mean:
create a video memory buffer ->
load background and sprites from files ->
paste them on video backbuffer ->
flip it
Is this procedure correct?
2. The video memory back buffer should be the same format as the real video memory? Can it be a standard 565 format and make the conversion at memcopy step?
3. If the display use only 8 bit, I have to load and set my own game color palette shared between all my graphics objects?
Almost done...
4. Which is the best way (size, fast to load and fast to code
) to store graphics? 24bit BMP? 16bit BMP? 16bit RAW data? Other?
OK, finish (for now)... It will be funny when I will start the sound engine...
flood me with informations and links
.
Thankyou all.
Loopback
I'm trying to write my first game for PPC (I have already coded some apps on win32 with C & API). The way I have choosen is the hard one (at least it seem so to me), use C and GAPI, without any library/framework. I have read Larry Bank's tutorial and some other docs from the web (and your old posts). Now here is my list of questions:
1. Which is the correct procedure to draw scene on the screen?
I mean:
create a video memory buffer ->
load background and sprites from files ->
paste them on video backbuffer ->
flip it
Is this procedure correct?
2. The video memory back buffer should be the same format as the real video memory? Can it be a standard 565 format and make the conversion at memcopy step?
3. If the display use only 8 bit, I have to load and set my own game color palette shared between all my graphics objects?
Almost done...
4. Which is the best way (size, fast to load and fast to code
OK, finish (for now)... It will be funny when I will start the sound engine...
flood me with informations and links
Thankyou all.
Loopback