0

When is it appropriate to use openGl-es on the iPhone versus other toolkits? I have been learning to use it and suddenly feel it might be overkill for what I have in mind. Is it a good choice for something like a blackjack game?

genpfault
  • 51,148
  • 11
  • 85
  • 139
Joe Cannatti
  • 4,989
  • 5
  • 38
  • 56

4 Answers4

1

Probably overkill, given that a card game has a fixed and statically defined set of graphic elements (i.e., a set of iconic images will do.)

alphazero
  • 27,094
  • 3
  • 30
  • 26
1

You should read this question:

Are most games on the IPhone done with OpenGL ES?

In general OpenGL ES is highly optimized and won't have too much of an overhead, you should consider CoreAnimation as a simpler, more abstracted option.

Community
  • 1
  • 1
Richard Stelling
  • 25,607
  • 27
  • 108
  • 188
1

Well if you want to have 3D animated cards smoothly flipping across your screen instead of a static moving card, then yeah, use OpenGL ES. Also use it if you want to learn something about 3D programming or vector mathematics. Of course a Blackjack game isn't the most advanced, but you probably want a flashier UI than Windows Solitaire.

JeeBee
  • 17,476
  • 5
  • 50
  • 60
0

Also consides the idea that if you build off a universal framework such as OpenGL ES you can also port the game to other cellphones that support OpenGL ES, and it will not be iphone dependent...