Using vector graphics in iPhone games
I’m Flash/AS3 developer and I’m wondering how some iPhone developers use vector assets in their games.
For example, “Lil’ Pirates”: this games looks like vector-based, it’s zooming and unzooming easily, but I can’t get any information about using vector assets at iOS.
Solutions Collect From Internet About “Using vector graphics in iPhone games”
Quartz 2D is a pretty lightweight framework for vector based graphics. It’s very well documented…
In particular I’d pay particular notice to layering and performance…
Quartz Layering and Performance
If performance is a worry I’d also have a read through the core animation documentation. Core animation uses CALayers to cache vectors drawn with Quartz to in-memory bitmaps. These CALayers can then be transformed and translated through the animation APIs. If you intend to perform a lot of drawing this is the route I would recommend.
- Apply back action to uiButton
- Prevent dispatch_after() background task from being executed
- NSPredicate: Fetch one of each kind
- Deinit not called on a UIViewController, but Dealloc is
- Creating an iOS/OS X cross-platform class
- Right align magnifying glass icon in UISearchBar
- Cocoa-Touch: How do I see if two NSDates are in the same day?
- How to add buttons to navigation controller visible after segueing?
- How do I adjust the left margin for prototype cells in a UITableView?
- Instagram API prevents redirection to iOS app upon successful login with 400 bad request error
- Uploading archive error: “Missing iOS Distribution signing identity for …”
- Swift error: Cannot assign to immutable value
- UITableView create 4 square
- Set UITextField text property in prepareForSegue
- Why are emoji characters like 👩👩👧👦 treated so strangely in Swift strings?