Temporary sprite packing fix

This commit is contained in:
Anuken 2022-05-06 22:13:52 -04:00
parent 2c07b9cdb1
commit f6e68e91d0
3 changed files with 7 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

View File

@ -33,7 +33,8 @@ public class Team implements Comparable<Team>{
crux = new Team(2, "crux", Color.valueOf("f25555"), Color.valueOf("fc8e6c"), Color.valueOf("f25555"), Color.valueOf("a04553")),
malis = new Team(3, "malis", Color.valueOf("a27ce5"), Color.valueOf("c195fb"), Color.valueOf("665c9f"), Color.valueOf("484988")),
green = new Team(4, "green", Color.valueOf("54d67d"), Color.valueOf("96f58c"), Color.valueOf("54d67d"), Color.valueOf("28785c")),
blue = new Team(5, "blue", Color.valueOf("6c87fd"), Color.valueOf("85caf9"), Color.valueOf("6c87fd"), Color.valueOf("3b3392"));
//TODO temporarily no palette.
blue = new Team(5, "blue", Color.valueOf("6c87fd")); //Color.valueOf("85caf9"), Color.valueOf("6c87fd"), Color.valueOf("3b3392")
static{
Mathf.rand.setSeed(8);

View File

@ -27,6 +27,11 @@ public class DrawWeave extends DrawBlock{
Draw.reset();
}
@Override
public TextureRegion[] icons(Block block){
return new TextureRegion[]{weave};
}
@Override
public void load(Block block){
weave = Core.atlas.find(block.name + "-weave");