beyond-all-reason / spring

A powerful free cross-platform RTS game engine
https://beyond-all-reason.github.io/spring/
Other
219 stars 101 forks source link

Building grid UI could skip open yard tiles #1682

Open sprunk opened 1 month ago

sprunk commented 1 month ago

Consider this 5x5 yardmap:

yyoyy
yoooy
ooooo
yoooy
yyoyy

Right now placement GUI looks like this: solars_1

Which is slightly confusing since the corners overlap. The request is to give the option to only render the "real" tiles: solars_3

Remarks:

12345swordy commented 1 month ago

Wouldn't it be better to allow game developers to create their own Grid UI instead of having the engine providing one?

sprunk commented 1 month ago

Yes, that would be the Lua callin/callout route.

i'm not specifying how to enable the option (springsetting? modrule? some lua callin/callout?), your choice