Additional cache size improvements

This commit is contained in:
Anuken 2017-05-20 16:20:38 -04:00
parent 6381fbc52d
commit 5811eaefba
7 changed files with 6 additions and 4 deletions

View File

@ -67,4 +67,4 @@ project(":core") {
tasks.eclipse.doLast {
delete ".project"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

View File

@ -36,7 +36,7 @@ public class Renderer{
for(int cx = 0; cx < chunksx; cx ++){
for(int cy = 0; cy < chunksy; cy ++){
Caches.begin();
Caches.begin(1600);
for(int tilex = cx*chunksize; tilex < (cx+1)*chunksize; tilex++){
for(int tiley = cy*chunksize; tiley < (cy+1)*chunksize; tiley++){

View File

@ -18,7 +18,7 @@ public class Vars{
public static final float respawnduration = 60*4;
public static final float wavespace = 20*60;
public static final float enemyspawnspace = 65;
public static boolean debug = true;
public static boolean debug = false;
public static final Vector2 vector = new Vector2();

View File

@ -149,6 +149,7 @@ public class Block{
for(int dx = -1; dx <= 1; dx ++){
for(int dy = -1; dy <= 1; dy ++){
if(dx == 0 && dy == 0) continue;
Tile other = World.tile(tile.x+dx, tile.y+dy);

View File

@ -3,9 +3,10 @@
<module rename-to="html">
<inherits name='com.badlogic.gdx.backends.gdx_backends_gwt' />
<inherits name='com.badlogic.gdx.ai' />
<inherits name='Mindustry' />
<inherits name='uCore' />
<entry-point class='io.anuke.mindustry.client.HtmlLauncher' />
<set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/>
<set-configuration-property name="gdx.assetpath" value="../core/assets" />