it is a tile map and each tile is 32 X 32 (tile_size)
0001
2011
1111
so to get the height of map(not the array). array height 4 but bc each values is 32 pix. so to get map height
Type: Posts; User: game06
it is a tile map and each tile is 32 X 32 (tile_size)
0001
2011
1111
so to get the height of map(not the array). array height 4 but bc each values is 32 pix. so to get map height
how to get ground postion, no matter where your player is standing.
2d array: (0=sky, 1=ground, 2=player)
0001
2011
1111
so to get ground position i do this.