cocoa - Fullscreen animation effects with CoreAnimation? -


i'm trying perform fullscreen animation effects moving/scaling windows , effects how files "jump" download folder in safari.

my first attempt make windows nsimageview content view , use coreanimation move window around screen. failed terribly because coreanimation apparently slow @ animating windows way (nsviewanimation failed). surprisingly not writing on over web either suggesting no 1 or aren't having performance problems.

the other thoughts have left making fullscreen transparent window , animating nsviews inside window (using coreanimation) or doing fullscreen transparent opengl context sprites.

what other options or there way make ca animate windows fluidly? should easy coreanimation i'm confused. guys!

i gave on months until found link example:

http://www.cimgf.com/2008/03/15/core-animation-tutorial-dashboard-effect/

the basic solution works best use fullscreen transparent window , calayers exclusively (without shadows if possible) , animate layers. using nsview's or nswindow's not work.

you achieve same performance believe setting 2d opengl context in transparent window more overhead. spritekit or cocos2d same equivalent of pure calayers or opengl contexts.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -