Hi all,
@Duffer:
In fact, tiles objects can be created using 2 ways :
1. Create entirely the tile with the plugin command :
Create IsoMAP Tile TILEID, IMAGE_FILENAME$
- Load the image and define it to be the tile object.
2. Create a tile from an image :
Make IsoMap Tile From Image TILEID, IMAGEID
- Set the choosen image to be used for the tile object.
Differency is that when deleting a tile objet using :
Delete IsoMAP Tile TILEID,
Method 1 will delete the image and method 2 not.
The default tile size is defined this way :
Set_IsoMAP_Tile_Width( TILE_PIXEL_WIDTH )
It define the physical width used for calculations. Images used for tile objects must use this width. Not larger.
The height of the tile is TILE_PIXEL_WIDTH / 2. This assume only ground tiles that are in fact a plane (but displayed in 3D isometric view).
When a tile is higher, depending on the type of object it is (wall, ground) the engine will calculate Y positioning by shifting value depending on the physical height of the image used for the tile object, to be sure the tile will be correctly positionned. I will put a full tutorial on this with the plugin (with graphics examples).
There are also commands to load/save/delete/clear maps.
I plan to develop a primitive map editor to handle the default
plugin commands.
I'm now working on sprites and animated sprites that can be used for characters and special objets.
I will put a new shot and maybe a demo when more things will be available to see (test).
Kindest Regards,
Fred