ios - Using Cocos2D Dynamic Texture as background for View Controller -


i have dynamic texture created ccrendertexture. use in top half of 1 of view controllers in app.

currently have:

so need take dynamic texture, , place upper 25% of view controller in app has 2 uibuttons in view controller.

how go doing this? need somehow subview view controller has 2 uibuttons? i'm assuming put dynamic texture background somehow, , lay view 2 uibuttons on top of it. i'm not totally sure.

per learncocos2d response above, followed advice: best use cocos2d sprite , make view controller's view transparent (opaque = no). or use render textures getuiimage method: learn-cocos2d.com/api-ref/latest_2.x/cocos2d-iphone/html/… note costly operation


Comments

Popular posts from this blog

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

Android Gson.fromJson error -