I want to create an iPhone / iPod game. I want it to be 3d, but I want to use sprites instead of OpenGL for this (I assume it will be easier since I don't know OpenGL).
I was thinking of simply stratifying the sprites on top of each other and resizing them to create the illusion of 3d. This should not be too convincing, as the game will be somewhat muddy.
How to use sprites as an alternative to OpenGL on the iPhone platform?
You can use CoreAnimation for this. Either use UIImageViews(or regular UIViews) either CALayers.
UIImageViews
UIViews
CALayers
2d (, ), , . , , OpenGL .
, 3d, cocos2d. , , .., . ( , OpenGL ) .
http://code.google.com/p/cocos2d-iphone/
, , 17 - 20 , , iPhone (, iPhone, iPhone ).
CoreAnimation . PNG , , . , iPhone. , , .
: OpenGL, . , OpenGL ES ( ). , , UIImageView, UIView CALayers ..
UIImageView
UIView
, .
Source: https://habr.com/ru/post/1711666/More articles:How to find memory leak in a web application running in IE? - internet-explorerHow to write big output in Process getOutputStream? - javacertificate certificate C # certificate - c #C #: require an indexer from a method parameter - c #How to parse XML with invalid characters in Node Name? - c #Is XML the best data exchange format when importing large amounts of data as a script routine in PHP? - xmlFlex: HSlider - Установить различные скины для разных пальцев? - flexКак определить отключенный цвет для заданного цвета в winforms? - .netОтправка JavaScript-массива в .ashx для обработки - javascriptCreate a wrapper for java.sql.Connection that works with JDBC 3 and 4 - javaAll Articles