OpenGL Render to Texture

OpenGL Render to Texture

Render to texture is a very handy functionality. Imagine your game allows for some character customization. You have the body, some different hats, different clothes and other small stuff. Now the easiest way to render this is to just draw it piece by piece every frame. With the proper Z coordinates everything falls in place. [...]

Tracking/Identifying individual touches on iPhone

Tracking/Identifying individual touches on iPhone

I got this question the other day, how to track individual touches if you are using a couple of fingers for a game? Actually it’s pretty easy if you can access the touch previous position and it’s current position. Let’s start with a small class to store the information class Touch { public: Touch(); ~Touch(); [...]

starlog 14042011

starlog 14042011

Hum…some stuff happened lately, some I can’t go into detail right now others I can. I was talking with Rita the other days and she had this nice idea for an iPhone game. It’s one of those small concepts that may or not work but I liked the general idea, at least enough to start [...]

A little on how to initialize and use GameCenter

A little on how to initialize and use GameCenter

Small side-note first, Vizati is now available for the Super Nintendo, more info. For my third idevblogaday post I’m going to talk about Game Center. Game Center was released only a couple months ago (September or so) but already tons of applications are using it and even more, players ask for it. It’s a way [...]