Open kellishouts opened 8 years ago
Put walls only on coordinate points, like this: // Set a variable for the tile size. var tile_size = 40;
// Set a variable to use for all walls. var wall = "assets/images/brick.png";
// Place some walls on the game map. Spawn.object(0_tile, 0_tile, wall); Spawn.object(1_tile, 0_tile, wall); Spawn.object(2_tile, 0_tile, wall); Spawn.object(3_tile, 0_tile, wall); Spawn.object(4_tile, 0_tile, wall); Spawn.object(5_tile, 0_tile, wall); Spawn.object(6_tile, 0_tile, wall); Spawn.object(7_tile, 0_tile, wall); Spawn.object(8_tile, 0_tile, wall); Spawn.object(9_tile, 0_tile, wall);
Or like this:
var tile_size = 40; var wall = "assets/images/brick.png"; for (i = 0; i < 10; i++){ Spawn.object([i]_tile_size, 0_tile_size, wall); }
Use one of the premade maps. One quest: bring stuff to someone One quest: kill monsters One quest: pick up gems