Additional cache size improvements
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.8 KiB |
Binary file not shown.
@@ -36,7 +36,7 @@ public class Renderer{
|
|||||||
|
|
||||||
for(int cx = 0; cx < chunksx; cx ++){
|
for(int cx = 0; cx < chunksx; cx ++){
|
||||||
for(int cy = 0; cy < chunksy; cy ++){
|
for(int cy = 0; cy < chunksy; cy ++){
|
||||||
Caches.begin();
|
Caches.begin(1600);
|
||||||
|
|
||||||
for(int tilex = cx*chunksize; tilex < (cx+1)*chunksize; tilex++){
|
for(int tilex = cx*chunksize; tilex < (cx+1)*chunksize; tilex++){
|
||||||
for(int tiley = cy*chunksize; tiley < (cy+1)*chunksize; tiley++){
|
for(int tiley = cy*chunksize; tiley < (cy+1)*chunksize; tiley++){
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ public class Vars{
|
|||||||
public static final float respawnduration = 60*4;
|
public static final float respawnduration = 60*4;
|
||||||
public static final float wavespace = 20*60;
|
public static final float wavespace = 20*60;
|
||||||
public static final float enemyspawnspace = 65;
|
public static final float enemyspawnspace = 65;
|
||||||
public static boolean debug = true;
|
public static boolean debug = false;
|
||||||
|
|
||||||
public static final Vector2 vector = new Vector2();
|
public static final Vector2 vector = new Vector2();
|
||||||
|
|
||||||
|
|||||||
@@ -149,6 +149,7 @@ public class Block{
|
|||||||
|
|
||||||
for(int dx = -1; dx <= 1; dx ++){
|
for(int dx = -1; dx <= 1; dx ++){
|
||||||
for(int dy = -1; dy <= 1; dy ++){
|
for(int dy = -1; dy <= 1; dy ++){
|
||||||
|
|
||||||
if(dx == 0 && dy == 0) continue;
|
if(dx == 0 && dy == 0) continue;
|
||||||
|
|
||||||
Tile other = World.tile(tile.x+dx, tile.y+dy);
|
Tile other = World.tile(tile.x+dx, tile.y+dy);
|
||||||
|
|||||||
@@ -3,9 +3,10 @@
|
|||||||
<module rename-to="html">
|
<module rename-to="html">
|
||||||
<inherits name='com.badlogic.gdx.backends.gdx_backends_gwt' />
|
<inherits name='com.badlogic.gdx.backends.gdx_backends_gwt' />
|
||||||
<inherits name='com.badlogic.gdx.ai' />
|
<inherits name='com.badlogic.gdx.ai' />
|
||||||
|
|
||||||
<inherits name='Mindustry' />
|
<inherits name='Mindustry' />
|
||||||
<inherits name='uCore' />
|
<inherits name='uCore' />
|
||||||
|
|
||||||
|
|
||||||
<entry-point class='io.anuke.mindustry.client.HtmlLauncher' />
|
<entry-point class='io.anuke.mindustry.client.HtmlLauncher' />
|
||||||
<set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/>
|
<set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/>
|
||||||
<set-configuration-property name="gdx.assetpath" value="../core/assets" />
|
<set-configuration-property name="gdx.assetpath" value="../core/assets" />
|
||||||
|
|||||||
Reference in New Issue
Block a user