#14755 - pinkywu - Mon Jan 12, 2004 3:20 pm
Can anyone give me an example to use Mode 4.
and give me the code.
Thanks a lots
#14758 - ampz - Mon Jan 12, 2004 5:00 pm
1: Read the appropriate tutorials. The pern project for example. It has a excelent tutorial that cover all graphics modes. Example code is included.
2: Search the demo archive at gbadev, there are tons of open source demoes that use mode 4.
3: Post beginner questions in the "beginners" section.
#14776 - Miked0801 - Mon Jan 12, 2004 7:08 pm
Quote: |
and give me the code.
|
lol.
You sound like some of the people I used to help at the computer lab who wanted me to do their C homework for them instead of only helping them!
Mike
#14808 - LOst? - Mon Jan 12, 2004 10:46 pm
Miked0801 wrote: |
Quote: |
and give me the code.
|
lol.
You sound like some of the people I used to help at the computer lab who wanted me to do their C homework for them instead of only helping them!
Mike |
Oh, same for me! lol
#14834 - dagamer34 - Tue Jan 13, 2004 3:32 am
Wow, would you like us to write the code for you also??
Don't mind the sarcasm, but there are some things that you have to do before we can help you. The search function is always pretty useful.
Mode 4 is good for most pictures, slow, but useful.
In the announcements section, there is a topic that tells about a set of tutorials that has been converted to english (I think it was started by NeoGeo). He has a really good tutorial for writing just 2 pixels.
And google.com is your friend!!!
_________________
Little kids and Playstation 2's don't mix. :(
#14848 - pinkywu - Tue Jan 13, 2004 8:06 am
Sorry , Maybe my expression have some problem. I am not just ask you to do the C homework for me.
Actually I seen the tutorial in PERN Project and the Doc in gbadev.org.
But I have many question on that, and I found that it seem most of the example are using Mode3, and just a few use mode4. And in PERN Project tutorial day2, it said we need to flip the buffer, however in one of the example of using mode 4, it didn't include the code to flip the buffer.
As we know, Mode 4 is use 8 bit pixel, when we convert the some pic to gba, what should we change?
#14849 - pinkywu - Tue Jan 13, 2004 8:24 am
I also want to ask, when I use imager converter , I can convert a pic to a 240X160 u16 in the header file, is pcx2gba can convert a pic to 120X160 u8 header file?
I know my question is quite stupid, but i am a very very beginer for gba display, so hope all of you forgive me.