New iphone game programming tutorials for newbies

Discussion in 'Public Game Developers Forum' started by Eskema, Feb 21, 2010.

  1. Eskema

    Eskema Well-Known Member

    May 16, 2009
    137
    0
    16
    Programmer
    Spain
    Hi all, I started a set of tutorial of game programming for newbies, I'm gonna show you how to start to make games for the iphone with opengl and obj-c.
    I hope someone find this useful, the beginnings are usually hard for the newbies with the iphone programming
    Iphone programming blog


    See ya,
     
  2. mobile1up

    mobile1up Well-Known Member

    Nov 6, 2008
    754
    0
    16
    Technical Director
    Munich, Germany
    16bit texture - ARGB4444?

    most 16bit graphics i've seen use RGB565 :) 444 models are very restrictive when it comes to color ranges and if you are going to use openGL to handle drawing; it is probably best to leave it as ARGB8888 and let the hardware do the work to convert it to the RGB565 which is actually what is used in most 16 bit modes.
     
  3. Eskema

    Eskema Well-Known Member

    May 16, 2009
    137
    0
    16
    Programmer
    Spain
    rgb565 don't has alpha channel wich is needed, from my tests rgb4444 or rgb5551 are actually my preferred methods for textures
     
  4. mobile1up

    mobile1up Well-Known Member

    Nov 6, 2008
    754
    0
    16
    Technical Director
    Munich, Germany
    rgb4444 means 4 bits per color = 16 shades of red, green, blue
    rgb5551 means 5 bits per color = 32 shades of red, green, blue

    note; that these shades are linear - so out of a 0..255 range - you cannot get exact color models. you should use rgb8888 - and let open GL do the down-sampling to rgb565 after the alpha channels are blended. personally; i use a specific color for transparency and do my own transparency handling - but this requires a framebuffer type environment.

    use rgb8888 - and let open GL do the down-sampling to whatever the display is.
     

Share This Page