Open GL是2D纸牌游戏的过度杀伤力吗? [英] is Open GL a Overkill for a 2d Card Game?

查看:76
本文介绍了Open GL是2D纸牌游戏的过度杀伤力吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想创建一个纸牌游戏,我只是在考虑是使用OpenGl还是CoreAnimation,请告诉我使用OpenGL进行2D纸牌游戏是否有点矫kill过正. :)

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 :)

推荐答案

在不了解更多信息的情况下很难说.不过,您可以使用CALayers,图像或带有石英的卡作图来获得更远的效果.这实际上取决于您正在考虑的视觉效果水平.如果只是在移动卡片,那么我会说使用图层.

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.

这篇关于Open GL是2D纸牌游戏的过度杀伤力吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆