Hi !
I’m currently working on a new object type : the TileMap object.
It will make the creation of big tiled maps easier and will improve the game performance (one object instead of many small sprite objects).
Just wanted to request this feature(s) the other day, really exciting. I hope 4ian going to pull this feature (however it works on git) and implement it into GD in the NEAR future.
It’s one big image because this is a big advantage (for performance especially because texture change is the thing that causes the most of performance issues) compared to using several sprites.
It’s also the goal because I haven’t the time to maintain myself extensions for each GD version (that’s why I don’t maintain my personal extensions anymore) and 4ian seems to be ok on that point.
Great. I’m sick of having to cut my tilesets in order to use them in GD (was big problem when I was making Candy Man Saga). Also is that thing you said about platformer automatism on PM still true or have you resolved it?
//edit: Also it would be cool if you could select multiple tiles at once and drop it as sorta object (e.g. selecting whole tree at once), like you can do e.g. in RPG Maker.
As example I’ve made shows: dl.dropboxusercontent.com/u/210 … ct%206.rar GD has no problems with “complex” collision masks for platforms so in theory it should work. Dunno about HTML5 though - last time I’ve checked it didn’t support collision masks.
Collisions masks should work in HTML5, I’ve just tested in the platformer example to be sure, a platform with a custom collision mask works perfectly
I’m ok to add it to GD as it seems something great for most users. I have only some simple conditions:
I want something simple, for the user. I prefer to have some features to be dropped for the first version if they seems to complicated to be integrated into a simple, easy to use interface. Using the object should be really easy: Add it, choose a image for the tile set, start drawing the map. (For example, the size of the map should not even be asked to the user: A predefined default size should be applied, and then the user can customized it if needed)
-I want something simple, for the developer. Here again, I prefer to have some features not to be developed for now but keep the whole thing easy to maintain It’s very important to avoid bloating the software.
In short, “Keep it simple, stupid”.
So far everything seems alright, so keep up the good work
Speaking of cutting off features. I think Tilemap object should be one layer only, otherwise people won’t be able to figure out how to put player
under some tile, like in this mockup:
Tree is supposed to be on player there, but due to this issue, it can’t easily be done as player will be on top of it. That’s a no-no IMO.
Players will still be able to use multiple layers by putting multiple TM objects on top of each other.
I’ve kept only three layers, they can be useful for some tileset.
Example : a tile has the house windows separated from wall. With a second layer, we can easily add the window on the house without creating another tilemap object (not easy to see where to put the window with another tilemap).
But, you’re true, if you want the player to go in the back of some object, you’ll need to create another tilemap.
Some news : the tilemap object can now be saved/loaded and render the tilemap in the scene.
I’ve reworked the editor to give more space to the map editor : I’ve put all settings (tile texture, tile size, spacing, map size) into two separate windows.
Very nice!
Again I think one of the most important point is that the user can quickly choose an image and start drawing the map. We can expect most tileset to be properly aligned and without space between tiles, and the user will simply have to configure the tileset if it is not the case
Maybe it would have been convenient to be able to choose the image directly from the main window?
Yes, so what can I improve to make it easier ? Open the configuration dialog when opening the object for the first time ?
EDIT : If I add the possibility to change the texture directly from the main editor, I’ll have to had the image bank to main editor, it will take a lot of space. I prefer the automatic opening of the tileset configuration dialog when you edit a newly created object.