[Tutorial] AndEngine Spirtes (Android 2D OpenGL Engine) https://github.com/nicolasgramlich/AndEngine Sprite 는 2D Bitmap 으로 scene 의 X, Y 좌표를 지정한다.AndEngine 에서의 Sprite 는 Entity 를 상속한 녀석이다.TiledSprite, AnimatedSprite 같은 복잡한 sprite 도 있다. 1. Sprite 생성하기. -Sprite sprite = new Sprite( int, int, ITextureRegion, vertexBufferObjectManager ); param1, param2 sprite 의 x, y coordinate 지정 param3sprite 의 ITextureRegion param4mEngine.getVertexBufferObjectManager() 를 .. 2014. 8. 15. [Tutorial] AndEngine Most Important Concepts [Tutorial] AndEngine Most Important Concepts 출처 : http://www.matim-dev.com/most-important-concepts.html Engine Frame 단위로 어떤 명령어들을 처리하는 Controller 이다.Engine 은 모든 content 를 담고 있는 Scene 을 주기적으로 update 한다. LimitedFPSEngine특정양의 update 를 control 할 수 있다. IResolutionPolicy multi resolution 에 대해서 어떻게 처리할지를 구현하는 interface. RatioResolutionPolicy모든 것을 scale 해서 적당한 ratio 로 만든다. ( black line 이 생길 수 있다. ) Fill.. 2014. 5. 7. 반응형 이전 1 다음