Graphic effects library for Core Graphics? [closed]
Asked Answered
A

2

2

I've reached a point were I can't keep procrastinating the writing of the graphics part of an iPhone app.

What has kept me from digging into it so far has being that it feels hard to figure out how to realize my idea of having "glowing", "sparkling" effects on some lamps. I used to be good at such things back in the days of the Amiga scene. But today I'm clueless. Now I can see that there are so many iPhone apps with completely stunning graphic effects. So. I'm wondering if someone knows about available libraries for creating those? Open source preferably, but I'm willing to pay some for it if it comes to that.

Aden answered 21/12, 2008 at 18:12 Comment(0)
R
4

The easiest approach may be to render all your effects as PNGs with transparency in a drawing/painting program and just position/build/animate them on the iPhone itself. This will work for glows, particles and similar effects.

CGImage is the fastest rendering source for image data and you can either layer them manually in a single view (by positioning and drawing yourself) or draw to separate UILayers and use the layer to animate.

Renferd answered 21/12, 2008 at 23:42 Comment(1)
Nice. The view is quite simple. This route seems like a good fit.Aden
K
2

Maybe SDL could be helpful.

EDIT: just for motivation

Kevinkevina answered 21/12, 2008 at 18:43 Comment(1)
Thanks! Though SDL seems to focus on cross-platform and also I think they're not ready with their support for iPhone. +1 anyway, since I will most probably have need for something like SDL in other projects.Aden

© 2022 - 2024 — McMap. All rights reserved.