Map Editing, Brushes,
and a 4(?) hour ImGui Bug
The map editor is finally coming together
It’s still a bit… rough
but it does feel nice to be able to paint a map in the editor
I did, however, spend an embarrassing amount of time trying to figure out why my click and drag “painting” wasn’t working…
well.. ImGui was eating my inputs because it thought I was trying to drag the Scene View window around.. yeah..
changes
map editor
actually got the map editing tools working for real this time.
- the paint and erase tools actually place and remove tiles now instead of just being placeholder buttons
- added a brush radius slider, so you can paint in bigger hex rings
- added a preview outline that renders around your cursor so you can see before clicking
- toggling “is walkable” on a tile now properly syncs with the grid pathfinding
editor ui
spent some time making the tile palette and material editing.. work.. video explains better ngl im not good at describing ui stuff
math
- laid some groundwork in the hex math system (
Lerp,CubeRound, andGetHexLine) - this is mostly for some future evil plans…
still a WIP…
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.