Timeline for libgdx sprite placement
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 4, 2016 at 9:55 | vote | accept | gafflx | ||
May 4, 2016 at 9:54 | comment | added | gafflx |
thanks it was actually pretty simple I ended up just doing this: if (!Gdx.input.isTouched()) { batch.draw(bs, b.position.x, b.position.y); }else if (Gdx.input.isTouched()) b.shootToward(Gdx.input.getX(), Gdx.graphics.getHeight() - Gdx.input.getY());
|
|
May 3, 2016 at 17:12 | history | answered | spectacularbob | CC BY-SA 3.0 |