LibGDX: Android SpriteBatch not drawing

后端 未结 2 1705
轻奢々
轻奢々 2020-12-20 05:03

I\'m having a hard time getting a spriteBatch to render in LibGDX. It shows when I run it for the desktop, but not on Android. I sprite I\'m trying to render is the star bac

相关标签:
2条回答
  • 2020-12-20 05:26

    I found my problem. It turned out to be simply that the phones I used didn't support Open GL 2.0. To fix this I re-sized all my textures to the power-of-two, and changed the configuration settings to Open GL 1.1.

    0 讨论(0)
  • 2020-12-20 05:34

    try to use "Image" actor as background in stage instead of using spritebatch and drawing yourself.

    0 讨论(0)
提交回复
热议问题