Don't Starve Together

Don't Starve Together

Geometric Placement
Sworddragon 2020년 12월 24일 오전 3시 18분
[Feature Request] Better grid aligning support for boats
Ironically some days ago when I created the geometric items placement feature request I was even thinking about to post a feature request to add better support for boats but now we even got it with the grid snapping feature. But on testing it while it works it feels kind of tricky:

- If you want to align the grid on the boat you need to take care not to have the mouse cursor over your own character or other characters. Already misaligned objects on a boat and the plank should be avoided too. Overcrowding could make things difficult here.
- We have no feedback when we aligned the grid (in case the grid was closed) or on what item we aligned (in case of potential overcrowding).
- Aligning to the default grid happens once I realigned with the mouse cursor over the land or over the ocean - but realigning might be easily forgotten and just be a pixel off from the default grid. If somebody forgets this it could be easily not possible anymore to tell which grid is currently active (default or non-default) and thus follow-up errors on building structures could happen if everything gets the one or other pixel off.


While the new grid snapping feature is still useful for boats and in general I think it is not an optimal solution for boats. Maybe there could be an option to align grids automatically on boats:

- The aligning happens once you enter a boat (entering the games boat-mode).
- If you exit the boat the default grid alignment is being applied if the target is not a new boat. Otherwise the grid is being realigned to the new boat.
- If the player is on a boat and the grid is active it could continuously check for updates and automatically realign on the current boat in case the boat is moving.
< >
전체 댓글 1개 중 1~1개 표시 중
rezecib  [개발자] 2020년 12월 26일 오전 10시 02분 
The grid only realigns to objects and lattice points within a tile (a 5x5 grid in a tile, where the edges are shared with adjacent tiles). So you can't really get "a pixel off", it's a little more forgiving/inflexible than that.

Auto-aligning to the center of the boat when you hop on sounds like a good idea though. Dealing properly with moving boats (for example continuously realigning) sounds pretty tricky-- it would effectively remove the ability to snap to existing items on the boat. I don't think I have a good solution for snapping things while a boat is moving at all at the moment, (given that the relative boat position is changing in the world space, but all snapping happens to the world space). I think the game uses some solution here where it considers the placement relative to the boat, and I need to dig deeper into how I can support that.

Aligning to the player was not something I intended and should be a relatively easy fix.

Thanks for the feedback, I filed https://github.com/rezecib/Geometric-Placement/issues/40 to track this for myself.
< >
전체 댓글 1개 중 1~1개 표시 중
페이지당 표시 개수: 1530 50