Categories

CoreAnimation

  • May 5, 2011

    Objective-C era

    Presenting a Mac dialog sheet with visual cue effects

    In this post, I'll show you how to use visual effects over a window to make a dialog sheet stand out when it is presented over the top. It's a pretty simple use of Core Image but is a useful technique to capture attention when needed.

    Read article

  • Mar 8, 2009

    Objective-C era

    An Asteroids-style game in CoreAnimation, Part Four.

    Over the last three weeks, I presented a simple 2D game using CoreAnimation. For the final post in this series, I'll look at CATransactions and why I didn't use them in the game to handle animations and I'll look at the performance of CoreAnimation as numbers of CALayers and sizes of CALayers change.

    Read article

  • Mar 1, 2009

    Objective-C era

    An Asteroids-style game in CoreAnimation, Part Three.

    How would you write an arcade-style 2D game in CoreAnimation? I'll show you how to write a resolution independent, high-speed, model-view-controller designed, Asteroids-style arcade game using CoreAnimation as the screen renderer. In this third of four parts, I add the logic for the game and game objects and present the finished code for the project.

    Read article

  • Feb 22, 2009

    Objective-C era

    An Asteroids-style game in CoreAnimation, Part Two.

    How would you write an arcade-style 2D game in CoreAnimation? I'll show you how to write a resolution independent, high-speed, model-view-controller designed, Asteroids-style arcade game using CoreAnimation as the screen renderer. In this second of four parts, I'll create basic objects in the game and their corresponding CoreAnimation Layers on screen.

    Read article

  • Feb 17, 2009

    Objective-C era

    An Asteroids-style game in CoreAnimation, Part One.

    How would you write an arcade-style 2D game in CoreAnimation? Over the next few weeks, I'll show you how to write a resolution independent, high-speed, model-view-controller designed, Asteroids-style arcade game using CoreAnimation as the screen renderer. In this first of four parts, I'll detail the concept for the overall application and show you how to create a resolution independent window for the game.

    Read article

  • Sep 9, 2008

    Objective-C era

    Parametric acceleration curves in Core Animation

    CAMediaTimerFunction is used to control basic acceleration along a path in Core Animation but is very limited in what in can do. In this post, I look at the mathematics behind CAMediaTimerFunction and present a sample application that simulates some functions that CAMediaTimerFunction can't achieve by using parametric CAKeyframeAnimation values.

    Read article