Rangi42 / polished-map

A map and tileset editor for pokecrystal, pokered, and projects based on them. Written in C++ with FLTK.
https://hax.iimarckus.org/topic/7222/
Other
185 stars 20 forks source link

[Feature Request] Block fill #7

Closed mid-kid closed 5 years ago

mid-kid commented 6 years ago

This was requested by someone on the /rheg/ Discord. It's a feature present in RPG Maker XP, that allows you dragging your mouse over an area to fill the entire area with a certain tile. Makes filling an entire map (especially the trees) from scratch much easier.

Rangi42 commented 6 years ago

Shift+click flood fills an area; is that sufficient? Draw a rectangle and flood fill it?

mid-kid commented 6 years ago

Drawing a good rectangle using the mouse is rather unintuitive and can easily go wrong -- try it. Not to mention that CTRL+Z has you redrawing the entire thing if you did it in one go. I honestly believe such a feature would be rather beneficial and not too hard to implement, but feel free to reject this if you disagree (or take your time, I'm in no rush).

Rangi42 commented 5 years ago

Doing this feature right would mean being able to temporarily show the edit, i.e. you click, drag and see a rectangle, and you can drag to a different spot and see the rectangle change before releasing the click to apply the edit. That's not easily adaptable to the current way of editing blocks.