This commit is contained in:
parent
65747bd267
commit
c96c77d3ec
4 changed files with 21 additions and 4 deletions
20
src/data/map/default.map
Normal file
20
src/data/map/default.map
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
00000000000000000000
|
||||||
|
00000000000000000000
|
||||||
|
00011111111111110000
|
||||||
|
00000000000000100000
|
||||||
|
00000000000001000000
|
||||||
|
00000000000010000000
|
||||||
|
00000000001000000000
|
||||||
|
00000000010000000000
|
||||||
|
00000000100000000000
|
||||||
|
00000001000000000000
|
||||||
|
00000010000000000000
|
||||||
|
00000100000000000000
|
||||||
|
00001000000000000000
|
||||||
|
00010000000000000000
|
||||||
|
00111111111111111000
|
||||||
|
00000000000000000000
|
||||||
|
02222222222222222220
|
||||||
|
00000000000000000000
|
||||||
|
00000000000000000000
|
||||||
|
00000000000000000000
|
||||||
|
|
@ -77,7 +77,7 @@ public class Node extends Sprite {
|
||||||
//Sets the location
|
//Sets the location
|
||||||
super.setTranslationGL();
|
super.setTranslationGL();
|
||||||
//the rotation
|
//the rotation
|
||||||
Rectangle rect = getBound();
|
//Rectangle rect = getBound();
|
||||||
//super.setRotationGL(rect.width/2,rect.height/2);
|
//super.setRotationGL(rect.width/2,rect.height/2);
|
||||||
//Sets the scale of the sprite
|
//Sets the scale of the sprite
|
||||||
super.setScaleGL();
|
super.setScaleGL();
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ import ei.engine.math.Vector2i;
|
||||||
import ei.engine.math.Vector3f;
|
import ei.engine.math.Vector3f;
|
||||||
import ei.engine.scene.Node;
|
import ei.engine.scene.Node;
|
||||||
import ei.engine.scene.Sprite;
|
import ei.engine.scene.Sprite;
|
||||||
import ei.game.gamestate.InGameState;
|
|
||||||
import ei.game.player.GaiaPlayer;
|
import ei.game.player.GaiaPlayer;
|
||||||
import ei.game.player.Player;
|
import ei.game.player.Player;
|
||||||
import ei.game.player.PlayerHandler;
|
import ei.game.player.PlayerHandler;
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@ package ei.game.scene.map;
|
||||||
|
|
||||||
import ei.engine.math.Vector2f;
|
import ei.engine.math.Vector2f;
|
||||||
import ei.engine.math.Vector2i;
|
import ei.engine.math.Vector2i;
|
||||||
import ei.engine.scene.Entity;
|
|
||||||
import ei.game.gamestate.InGameState;
|
|
||||||
import ei.game.player.Player;
|
import ei.game.player.Player;
|
||||||
import ei.game.scene.SelectBox;
|
import ei.game.scene.SelectBox;
|
||||||
import ei.game.scene.units.Unit;
|
import ei.game.scene.units.Unit;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue