Additional cache size improvements
This commit is contained in:
@@ -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++){
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user