5 ms·
Hi everyone, I've been working on this tile map editor for quite a while now. I shared it here the other day, with no much success. Someone in the comments sug
by atum47 6y ago
Hi everyone, I've been working on this tile map editor for quite a while now.
I shared it here the other day, with no much success. Someone in the comments suggested to me that I would provide an example (a map and a texture) right out of the box, so people could try the tool.
Well, here is it.
click with the right button of the mouse and drag to pan
left click place a texture
paint bucket (b) - fills a whole area
eraser (e) - delete tile
eye dropper (d) - select a tile from the map
sava - saves the map as json
export - exports the map as PNG
please watch the videos if you're interested in learning more about the tool:
https://www.youtube.com/playlist?list=PL3pnEx5_eGm88UxHH2OlzRRdnj7zT6Cla https://www.youtube.com/playlist?list=PL3pnEx5_eGm88UxHH2Olz...
Also please remember this is a work in progress.
source code here - https://github.com/victorqribeiro/tileEditor https://github.com/victorqribeiro/tileEditor
textures adapted from here - https://opengameart.org/content/simple-iso-city-work-in-progress https://opengameart.org/content/simple-iso-city-work-in-prog...
- withinboredom 6y agoThis is pretty cool!
- atum47 6y agothanks
- AlexDragusin 6y agoNice! May I suggest making the right click on a tile to erase the tile? Played with it for a while and I think that would add to a better flow.
- atum47 6y agoI'm still figuring things out. I needed a way to pan the map, so I attached it to the right click. in the future I could change that to the middle scroll button and use the right click to erase (isocity does that)
- antoineMoPa 6y agoUndo/redo would be super useful as I keep drawing the wrong tile every 10 seconds. (Or I need to be more patient)
- atum47 6y agoyeah, great suggestion. I was going to do that and end up forgetting. I'll add to the to do list right now.
- throw0101a 6y agoIt does not seem to work with Safari 13 on macOS 10.14: is this on purpose or by accident? (Clicking on Map > New does nothing.) Which browser(s) are you testing with?
- atum47 6y agoI was having some trouble with safari cause it disabled canvas applications you need to disable prevent cross site tracking in order to work. tested with chrome and firefox
- atum47 6y agowell, let me take a minute to explain: you can use canvas to generate a finger print of the browser, that (with lots of other stuff) can be used to track the user on the internet. so, if your safari browser is setted to "prevent cross site tracking" canvas applications will not work. this canvas application (and everything I do) don't track people or data.