don't lag pls

This commit is contained in:
kdx 2023-03-25 10:25:37 +01:00
parent b1e98630da
commit fed491d65a
3 changed files with 47 additions and 1 deletions

45
map/brulez.tmj Normal file
View File

@ -0,0 +1,45 @@
{ "compressionlevel":-1,
"height":14,
"infinite":false,
"layers":[
{
"data":[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 5, 5, 0, 0, 0, 0, 0, 0, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 1,
1, 5, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 1,
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 5, 0, 0, 1,
1, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 5, 5, 0, 0, 1,
1, 0, 0, 5, 5, 5, 0, 0, 0, 1, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0, 5, 0, 0, 1,
1, 0, 4, 5, 0, 5, 5, 0, 0, 5, 5, 1, 5, 5, 1, 0, 0, 0, 0, 0, 0, 5, 5, 0, 1,
1, 0, 5, 5, 0, 0, 5, 5, 5, 5, 5, 5, 5, 0, 5, 1, 0, 0, 0, 0, 0, 0, 5, 5, 1,
1, 0, 5, 0, 0, 0, 0, 5, 5, 0, 5, 5, 0, 0, 5, 5, 5, 0, 0, 0, 0, 0, 0, 5, 1,
1, 5, 5, 0, 0, 0, 0, 5, 0, 0, 0, 5, 0, 0, 0, 5, 5, 5, 0, 0, 0, 0, 0, 0, 1,
1, 5, 0, 0, 0, 0, 5, 5, 0, 0, 0, 5, 0, 0, 5, 5, 0, 5, 5, 1, 0, 0, 2, 0, 1,
1, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 5, 5, 5, 5, 0, 0, 0, 5, 5, 0, 1, 0, 0, 1,
1, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"height":14,
"id":1,
"name":"Tile Layer 1",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":25,
"x":0,
"y":0
}],
"nextlayerid":2,
"nextobjectid":1,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.10.0",
"tileheight":16,
"tilesets":[
{
"firstgid":1,
"source":"tset.tsj"
}],
"tilewidth":16,
"type":"map",
"version":"1.10",
"width":25
}

View File

@ -13,7 +13,7 @@
1, 0, 0, 1, 1, 1, 5, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1,
1, 0, 0, 1, 5, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 5, 0, 0, 0, 1, 0, 0, 1,
1, 2, 0, 1, 0, 0, 5, 1, 0, 1, 1, 5, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 5, 1,
1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 5, 0, 0, 1, 1, 0, 4, 0, 1,
1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 5, 0, 0, 1, 1, 0, 3, 0, 1,
1, 5, 0, 0, 5, 1, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 5, 1, 1, 1, 0, 1,
1, 0, 0, 0, 1, 0, 0, 0, 5, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],

View File

@ -16,6 +16,7 @@ struct {
{ &map_wakywakysnakysnake_tmj, "waky waky snaky snek" },
{ &map_fillerepisode_tmj, "filler episode" },
{ &map_idkwymmdr_tmj, "idk wym mdr" },
{ &map_brulez_tmj, "brulez" },
};
unsigned int map_id = 0;