feat: added an arrow

remove badlogic image asset
This commit is contained in:
Laureηt 2021-05-12 22:20:05 +02:00
parent b327e748aa
commit 8061f7e6da
3 changed files with 1 additions and 1 deletions

BIN
core/assets/arrow2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

View file

@ -49,7 +49,7 @@ public class Arrow extends EntityQuad {
this.landed = false;
if (!preview) {
Pixmap pm = new Pixmap(new FileHandle("core/assets/arrow" + MathUtils.random(1) + ".png"));
Pixmap pm = new Pixmap(new FileHandle("core/assets/arrow" + MathUtils.random(2) + ".png"));
pm.setBlending(Pixmap.Blending.None);
for (int x = 0; x < pm.getWidth(); x++) {
for (int y = 0; y < pm.getHeight(); y++) {