THE KILLSQUARE (does not kill)

This commit is contained in:
the me 2022-08-14 21:36:37 -07:00
parent cfcfd3e263
commit 47cae629df
10 changed files with 123 additions and 6 deletions

View file

@ -5,6 +5,15 @@ global.map = [
[new tiledata(), new tiledata(), new tiledata(), new tiledata(), new tiledata()],
[new tiledata(), new tiledata(), new tiledata(), new tiledata(), new tiledata()],
];
function c_informtiles() {
for (i=0; i<array_length(global.map); i++) {
for (j=0; j<array_length(global.map[i]); j++) {
mp[i][j].x = i;
mp[i][j].y = j;
}
}
}
c_informtiles();
global.tilesize = new vec2(32, 32);
function tiledata(passable_=true) constructor {