Hi there JGO,
as some of you may know I am programming a small multiplayer RPG game. I want to make my maps some sort of infinite. I don’t know how it’s possible on the way I am using tiles.
How I use tiles:
tiles = new byte[width * height]; //Creating all tiles
this.tiles[x + y * width] = newTile.getId(); //Altering tiles
So basically my tiles are stored in rows, and with my current system I don’t know how to add another chunck to be able to still alter te right tiles and an important feature: how to have negative x’s and y’s… If you have anything that could/would help me then just say it. I do not want the codes. I want to learn by solving my own problems, I only need a step in the right direction
-RoseSlayer``