Debugdraw with OpenGL ES 2.0
Posted: Sat Apr 20, 2013 10:15 am
Hi,
I was using Rube with the Sparrow framework for my iPhone game. Recently, Sparrow upgraded to 2.0 and switched from using OpenGL ES 1.1 to 2.0, and that changed a few things. Basically I have to re-implement a few things, like that the debug draw class I had been using became depricated.
It's that same class used for Cocos2D found in the sample loaders folder. I've been searching around a lot but I simply can't find any sources or references on how to have a debug draw layer for Box2D with OpenGL ES 2.0. Maybe I'm not grasping the concept quite right? Any help on how to get my debug draw layer back is greatly appreciated. Can't code without it! Thanks
I was using Rube with the Sparrow framework for my iPhone game. Recently, Sparrow upgraded to 2.0 and switched from using OpenGL ES 1.1 to 2.0, and that changed a few things. Basically I have to re-implement a few things, like that the debug draw class I had been using became depricated.
It's that same class used for Cocos2D found in the sample loaders folder. I've been searching around a lot but I simply can't find any sources or references on how to have a debug draw layer for Box2D with OpenGL ES 2.0. Maybe I'm not grasping the concept quite right? Any help on how to get my debug draw layer back is greatly appreciated. Can't code without it! Thanks