Hi, I was just have an idea of creating a card game and I was just thinking whether to use OpenGl or CoreAnimation.Can you please tell me whether it would be a bit of a overkill to use OpenGL for s 2D card game.Thanks :)
+9
A:
It's hard to say without knowing more. You can get pretty far using CALayers, images or drawing with quartz for the cards though. It really depends on the level of visual effects you are considering. If it's just moving cards around, then I'd say use layers.
Elfred
2009-10-14 15:02:44
A:
Given that Core Animation uses OpenGL for rendering, you probably won't notice much of a difference in performance or memory usage. I don't think that you would gain anything by using OpenGL. Plus, you would have to handle all the animations on your own, as opposed to the prebuilt "set it and forget it" technique in Core Animation.
Alex
2009-10-14 15:22:14
+2
A:
Might want to check out GeekGameBoard.
"A small framework for building board and card games, using Apple's Core Animation."
Ramin
2009-10-14 18:28:44