ZhouWeikuan / cocos2d

cocos2d for android, based on cocos2d-android-0.82, and now ported from cocos2d-iphone 0.99.4. The googlecode address is here: http://code.google.com/p/cocos2d-android-1/ . There are several demos to watch.
610 stars 291 forks source link

Live wallpaper #45

Open sourceBreaker opened 12 years ago

sourceBreaker commented 12 years ago

Hi, I want to Make a Live wallpaper for my (COCOS2D based) Game.

The live wallpaper service only provides SurfaceHolder (Canvas) But COCOS2D is GLView based .So, How can i make it. Need help on it

ZhouWeikuan commented 12 years ago

From GLSurfaceView, getHolder() to provide the SurfaceHolder, can you try it and check if it works.

2011/10/25 sourceBreaker < reply@reply.github.com>

Hi, I want to Make a Live wallpaper for my (COCOS2D based) Game.

The live wallpaper service only provides SurfaceHolder (Canvas) But COCOS2D is GLView based .So, How can i make it. Need help on it

Reply to this email directly or view it on GitHub: https://github.com/ZhouWeikuan/cocos2d/issues/45

This is Zhou, Weikuan(Ϊ)

sourceBreaker commented 12 years ago

Hi i am using GLSurfaceView from http://www.rbgrn.net/content/354-glsurfaceview-adapted-3d-live-wallpapers for Live wallpaper but when i call scene.visit(gl) from its renderer nothing is getting drawn please somone try to make a live wallpaper for some cocos 2d sample and share with me ... :S