开发者

andengine empty TextureRegion

I want to create a Sprite with its children. The Sprite will be empty but the children will 开发者_高级运维not. So I need a TextureRegion to create the sprite. Such as sprite itself is empty, I don't need to create a texture from assets, but I need a Texture to create the sprite

new Sprite(pX, pY, pTextureRegion)

How can I create an empty TextureRegion for this operation?


You can use Entity and Entity.attachChild().

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜