Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
eonarheim committed Jan 2, 2024
1 parent 40d676a commit c12f31a
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions example/orthogonal/orthogonal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,7 @@ const game = new ex.Engine({
});
game.toggleDebug();

// const tiledMap = new TiledResource('./orthogonal.tmx', {
// useMapBackgroundColor: true,
// entityClassNameFactories: {
// 'player-start': (props) => {
// return new Player({
// pos: props.worldPos,
// width: 16,
// height: 16,
// color: ex.Color.Blue,
// collisionType: ex.CollisionType.Active
// });
// }
// }
// });

const tiledMap = new TiledResource('../../test/unit/tiled/parser-spec/orthogonal-infinite.tmx', {
const tiledMap = new TiledResource('./orthogonal.tmx', {
useMapBackgroundColor: true,
entityClassNameFactories: {
'player-start': (props) => {
Expand All @@ -59,6 +44,21 @@ const tiledMap = new TiledResource('../../test/unit/tiled/parser-spec/orthogonal
}
});

// const tiledMap = new TiledResource('../../test/unit/tiled/parser-spec/orthogonal-infinite.tmx', {
// useMapBackgroundColor: true,
// entityClassNameFactories: {
// 'player-start': (props) => {
// return new Player({
// pos: props.worldPos,
// width: 16,
// height: 16,
// color: ex.Color.Blue,
// collisionType: ex.CollisionType.Active
// });
// }
// }
// });

const loader = new ex.Loader([tiledMap]);

let currentPointer!: ex.Vector;
Expand Down

0 comments on commit c12f31a

Please sign in to comment.