Implemented Android support
This commit is contained in:
@@ -25,7 +25,10 @@ public class GameState{
|
||||
wavetime = waveSpacing();
|
||||
Entities.clear();
|
||||
enemies = 0;
|
||||
player.add();
|
||||
|
||||
if(!android)
|
||||
player.add();
|
||||
|
||||
player.heal();
|
||||
Inventory.clearItems();
|
||||
spawnpoints.clear();
|
||||
@@ -40,6 +43,8 @@ public class GameState{
|
||||
player.x = core.worldx();
|
||||
player.y = core.worldy()-8;
|
||||
|
||||
control.camera.position.set(player.x, player.y, 0);
|
||||
|
||||
wavetime = waveSpacing();
|
||||
|
||||
if(showedTutorial || !Settings.getBool("tutorial")){
|
||||
|
||||
Reference in New Issue
Block a user