feat: added an arrow
remove badlogic image asset
This commit is contained in:
parent
b327e748aa
commit
8061f7e6da
BIN
core/assets/arrow2.png
Normal file
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 |
|
@ -49,7 +49,7 @@ public class Arrow extends EntityQuad {
|
||||||
this.landed = false;
|
this.landed = false;
|
||||||
|
|
||||||
if (!preview) {
|
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);
|
pm.setBlending(Pixmap.Blending.None);
|
||||||
for (int x = 0; x < pm.getWidth(); x++) {
|
for (int x = 0; x < pm.getWidth(); x++) {
|
||||||
for (int y = 0; y < pm.getHeight(); y++) {
|
for (int y = 0; y < pm.getHeight(); y++) {
|
||||||
|
|
Loading…
Reference in a new issue