THE KILLSQUARE (does not kill)
This commit is contained in:
parent
cfcfd3e263
commit
47cae629df
10 changed files with 123 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue