New icon / Windows deployment fixes / Map fixes / Menu fix
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 911 B After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 553 B After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 9.8 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 9.8 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 28 KiB |
@@ -601,6 +601,8 @@ block.core-foundation.name = Core: Foundation
|
|||||||
block.core-nucleus.name = Core: Nucleus
|
block.core-nucleus.name = Core: Nucleus
|
||||||
block.deepwater.name = Deep Water
|
block.deepwater.name = Deep Water
|
||||||
block.water.name = Water
|
block.water.name = Water
|
||||||
|
block.tainted-water.name = Tainted Water
|
||||||
|
block.darksand-tainted-water.name = Dark Sand Tainted Water
|
||||||
block.tar.name = Tar
|
block.tar.name = Tar
|
||||||
block.stone.name = Stone
|
block.stone.name = Stone
|
||||||
block.sand.name = Sand
|
block.sand.name = Sand
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 506 B After Width: | Height: | Size: 509 B |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 5.6 KiB |
BIN
core/assets/sprites/icon_64.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 727 KiB |
|
Before Width: | Height: | Size: 243 KiB After Width: | Height: | Size: 118 KiB |
|
Before Width: | Height: | Size: 228 KiB After Width: | Height: | Size: 148 KiB |
@@ -63,7 +63,7 @@ public class HudFragment extends Fragment{
|
|||||||
@Override
|
@Override
|
||||||
public void act(float delta){
|
public void act(float delta){
|
||||||
setSize(getPrefWidth(), getPrefHeight());
|
setSize(getPrefWidth(), getPrefHeight());
|
||||||
setPosition(0, 0, Align.topLeft);
|
setPosition(0, Core.graphics.getHeight(), Align.topLeft);
|
||||||
super.act(delta);
|
super.act(delta);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -78,6 +78,7 @@ public class HudFragment extends Fragment{
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
select.visible(() -> !state.is(State.menu));
|
||||||
select.left();
|
select.left();
|
||||||
select.defaults().size(dsize).left();
|
select.defaults().size(dsize).left();
|
||||||
|
|
||||||
@@ -120,7 +121,8 @@ public class HudFragment extends Fragment{
|
|||||||
}).get();
|
}).get();
|
||||||
|
|
||||||
select.addImage("blank").color(Pal.accent).width(3f).fillY();
|
select.addImage("blank").color(Pal.accent).width(3f).fillY();
|
||||||
cont.add(select).prefSize(dsize*4 + 3, dsize).left();
|
Core.scene.add(select);
|
||||||
|
cont.add().size(dsize*4 + 3, dsize).left();
|
||||||
}
|
}
|
||||||
|
|
||||||
cont.row();
|
cont.row();
|
||||||
|
|||||||
@@ -98,6 +98,20 @@ task packrCmd(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task copyTemplate(){
|
||||||
|
doLast{
|
||||||
|
copy{
|
||||||
|
into "packr-out/"
|
||||||
|
from "${JDK_DIR}/templates/${getPlatform().toString().toLowerCase()}"
|
||||||
|
}
|
||||||
|
|
||||||
|
copy{
|
||||||
|
into "packr-out/"
|
||||||
|
from "build/libs/desktop-release.jar"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
task packrZip(){
|
task packrZip(){
|
||||||
task clearOut(type: Delete){
|
task clearOut(type: Delete){
|
||||||
doLast{
|
doLast{
|
||||||
@@ -133,17 +147,22 @@ task packrZip(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependsOn "packrCmd"
|
|
||||||
finalizedBy "clearOut"
|
finalizedBy "clearOut"
|
||||||
|
|
||||||
if(project.hasProperty("platform")){
|
if(project.hasProperty("platform")){
|
||||||
|
def plat = getPlatform()
|
||||||
|
if(plat == PackrConfig.Platform.Windows32 || plat == PackrConfig.Platform.Windows64){
|
||||||
|
dependsOn "copyTemplate"
|
||||||
|
}else{
|
||||||
|
dependsOn "packrCmd"
|
||||||
|
|
||||||
if(getPlatform() == PackrConfig.Platform.MacOS){
|
if(getPlatform() == PackrConfig.Platform.MacOS){
|
||||||
dependsOn "fixMac"
|
dependsOn "fixMac"
|
||||||
}
|
}
|
||||||
|
|
||||||
if(getPlatform() == PackrConfig.Platform.Windows32){
|
if(getPlatform() == PackrConfig.Platform.Windows32){
|
||||||
dependsOn "fixWindows32"
|
dependsOn "fixWindows32"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task rzip(type: Zip){
|
task rzip(type: Zip){
|
||||||
|
|||||||