Quote:
|
Originally Posted by Raeiphon
I'm remaking a jousting arena requested, and I'd like some help and input.
Is there any way to make a respawning bush? Like the one in unholy nation horse barn.
How can you edit tiles, in a simple way, that I can understand? I was told about tile arrays, but i'm completely confused.
Also, would you prefer a jousting arena where you run along side by side (real life jousting) or the graal equivelent, where you practically spar on a horse.
Thanks for your time!
|
O_o Well, I'll answer one question..
The only way to respawn a bush is to update the level or replace the tiles.
tiles[x,y] is the tile of x,y
To change it, you go to the tileset in the editor.
Move your mouse to the tile you want to use.
You'll see a number like (162,9)
To change a tile to that tile, you'd use: tiles[x,y] = 162 + 9 * 16;
If you wanted to use the tile 8,3, you'd use: tiles[x,y] = 8 + 3 * 16;
After you change tiles, you have to use updateboard so the new tiles appear.
updateboard(x,y,width,height);
updateboard(x,y,1,1); will show the changes you made to that one tile.
updateboard(x,y,2,2); will show the changes you made to the tiles in a 2x2 box