[Tutorial] How convert a image to a map |
![]() ![]() « Citoyen » 1572823200000
| 23 | ||
CONVERT A IMAGE TO A MAP Tutorial are kinda boring, it's now full automated in one app ! Go on Converter App, import your image (jpg/png), no matter the size, set your config, and run ! Drag your XML on transformice editor or edit into miceditor. Warning, the use is for making personal maps and not for the rotation. Also your map will be similar to your image but isn't possible to be the exact same, it's more like a drawing version of your image. Any issues ? please fell free to post it on the topic, i'll help you and try to fix it if it's a bug ! If you have any UI/UX idea you wish to see, like translation or theming, DM me. Current issues and todos :
Can't fix :
App • v2 - Work on App • v1 - Tutorial This is a tutorial to learn how convert a image as a map drawing joints in few steps I would like to clarify that a drawing art map did manually with a good job will be always better Warning, the use is for making personal maps and not for the rotation. Also your map will be similar to your image but isn't possible to be the exact same, it's more like a drawing version of your image. FIRST STEP For the first step we have to choose the image we want and edit it a bit. A. Select your image on google or whatever and save it. Know that more there is details less your map will be similar. Make sure the size of your image is higher than 800px*400px. B. For solve some issues, I have to order you to resize your image size to exact 800px*400px. You can use this website for doing it. Select your image from your pc, then edit the width to 800 and the height to 400. Deselect the "Maintain aspect ratio" checkbox, select the "Do not enlarge if smaller" checkbox and click on Resize image. Then save it. SECOND STEP The second step consist of recreating image as geometric primitives. Of course we don't gonna do it oneself. We gonna use a tool named Geometrize. A. Click on settings, then climb up the shape opacity at 255 and the shape mutation per step to 300. Uncheck the "rotated Ellipses" checkbox, and check "Rectangle", "Circles" and "Lines" only. You have choice to use all three as only one or two. (If you check another it would not working for next step) Edit the "Max Shapes Cap" between 300 and 1400. I recommend to put 600 (around 30kb). This is a important parameters, it means about the numbers of joints line and it will determinate the size in kb of your map. If you put more than 1400 your map will exceed the 60kb limit. Notice that is you put more than 600 Viprin Editor Drawing will crash if you load the map on it. We had finish with parameters. B. After this did, click on "Open Image" and select your image with 800px*400px size. (Make sure that is not the original size image). And waiting that the program finish when shapes added is equal to the max. Then click on "Save SVG". It's the file with all geometrical shapes informations, we gonna convert this into map XML. THIRD STEP We have to convert our SVG file as XML with Transformice propriety's. Use this tool I made for, load your SVG file. You can check "Viprin Drawing Editor compatability" checkbox is you want edit the draw, but make sure it's lower than 600 line or your browser might crash when you gonna load it in VDE. Then do the trick for exceed the 20kb limit: click and drag right to the Transformice map editor XML loader. And here we are, finished. TUTORIAL VIDEO Dernière modification le 1612195740000 |
0 | ||
Great thread, well down Sewd!!! |
![]() ![]() « Citoyen » 1572874020000
| 0 | ||
keep it up man! |
1 | ||
Coooool stuff |
0 | ||
wow thx |
![]() ![]() « Citoyen » 1572892020000
| 0 | ||
that amazing !! |
![]() ![]() « Censeur » 1572894600000
| 9 | ||
cool stuff, rip p5 artists who made their arts for hours |
![]() ![]() « Consul » 1572898740000
| 0 | ||
Woow cool |
![]() ![]() « Citoyen » 1572901260000
| 2 | ||
❤️❤️❤️ Thank you for all your feedback! I really appreciate it ❤️❤️❤️ I would like to take this opportunity to explain the two major problems that cause irregularities. First it is the fact that the joints are not right-angled rectangles but with a rounded edge (I cannot allow 20 joints to be used for a single rectangle). So you have to choose, either exceed, equal or reduce. I have chosen to reduce but I will try to see if it is not better to equalize. One aspect of the problem = ![]() The second is the fact that it is not possible to exceed a thickness greater than 260, which is not a problem for rectangles, but for some circles it is. What I have to do is simulate the shape of a circle with a few joints. I have chosen the simple square currently with a slightly smaller size, but I think a mixture of a 45 degree square and a 0 degree square, like a star, would be more effective One aspect of the problem = ![]() Once it's fixed I'll work on the implementation of the polygons, to be honest it's almost finished but I still have to work on the correction of the distances due to the rounding of the joints for the rectangles, mentioned above. Cya and thank you again m8 ! |
![]() ![]() « Citoyen » 1572903540000
| 1 | ||
Stefanmocarz a dit : You're bit wrong, none of this maps can enter in P5 or any other rotation category. These maps have the best lag ever and I'm just alone. When these are played on normal rooms you should imagine and with the shaman buildings, they get rejected. |
![]() ![]() « Citoyen » 1572904740000
| 0 | ||
+Minstens a dit : Yes like I said, a dit : It is just a fun way to create map, but whatever I don't think he was talking at first degree Dernière modification le 1572904860000 |
0 | ||
Is it allowed to make a maps gallery with this tool but without giving the credits to you? Dernière modification le 1572912000000 |
1 | ||
Iovis a dit : that'd be a bit too selfish, don't you think? |
![]() ![]() « Citoyen » 1572936300000
| 3 | ||
Iovis a dit : Yes you can, it is a tutorial, my tool is only a convertor, 90% of the job is did by Geometrize so Blank a dit : Imo when you use Viprin Drawing Editor and you show your maps on a gallery everyone know if you use it or not, you don't tell it, it's guessed. But whatever if you wanna give credit to this tutorial you can ofc (By this tutorial I am not meaning me but all stuffs on his tutorial used, mainly Geometrize) |
1 | ||
Sewdycreatooor a dit : Thanks you for response me! This gonna be very useful in my projects. |
0 | ||
If you want to credit someone, you could mention the artists who made the source arts. But it's just my opinion. I really appreciate your efforts to make this tool, even though it isn't very precise neither optimized, I think the arts have a good looking. |
![]() ![]() « Citoyen » 1573940880000
| 3 | ||
Hi, I would like to inform you that I am no longer working on this tool, at least for the moment. I am working on a "big" project to create a map editor with a design software aspect. Sorry if some was waiting for polygons etc. Thank NB: I'm not trying to match or equal any other VDE miceditor and tfmcanvas that are just amazing. To be honest I don't necessarily do it for Transformice but because I like the project, I learn a lot from him, and it will be better than a tic tac toe in my portfolio, anyway). If any of you are interested here is my progress on it (about 20% of the project lmao) NB2 : Ofc i'll implement the convert img to map on this project later. Dernière modification le 1573941000000 |
![]() ![]() « Censeur » 1575146340000
| 1 | ||
I do all the stuff but when i click "GO" i dont get my code. |
![]() ![]() « Citoyen » 1577302560000
| 0 | ||
REALLY COOL SHIT |