我想在点击一个按钮
@Override
public void render() {
SpriteBatch batch = new SpriteBatch();
batch.begin();
batch.draw(gemTexture, 10, 10, 100, 100);
batch.end();
if (Gdx.input.isTouched()) {
rotateRight();
}
}本身旋转此SpriteBatch
private void rotateRight() {
// How do I rotate it to look like
}
类似的东西? http://stackoverflow.com/questions/9445035/rotate-image-clockwise-using-libgdx – Robb