I know this is possible in raw OpenGL via FrameBufferObjects <http://www.songho.ca/opengl/gl_fbo.html>, but I can't quite figure out how to do this in python cocos2d. I noticed the docs mention a framegrabber module <http://python.cocos2d.org/doc/api/cocos.framegrabber.html> as well as a gl_framebuffer_object module <http://python.cocos2d.org/doc/api/cocos.gl_framebuffer_object.html>, but I'm too much of a novice to figure out if/how they can do this without further documentation. To be clear, my goal is to render to a variable with or without the actual screen (my purpose is to save video replays of my A.I. playing my game, possibly without a human player). Should I be getting the frame out of my scrollable layer somehow and then storing it in a gl_framebuffer_object?
-- You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cocos-discuss. For more options, visit https://groups.google.com/d/optout.
