Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Overhaul building placement previews #16553
This PR extracts the building preview rendering from
This also implements some polish that I've been wanted for a long time, but never got around to doing:
I already gave this a run past the discord channel, and got positive feedback after some tweaks to the preview translucency.
We can't automatically add the
2 times, most recently
May 18, 2019
Could we change the building placement overlay to always use white color as part of this overhaul? It improves the contrast of valid / invalid cells IMO, see https://imgur.com/a/tlJmrgK, and old RA also used white for all terrains. It would also be nice to change the footprint pattern to match the original.
Another point I'd like to suggest is to change that the invalid footprint is drawn above the blocking actor - in old RA the building artwork was never covered by a footprint. The invalid red footprint should if possible be drawn above the building bib, below the building body (the powerplant in the linked image) and above the building preview (the refinery).
Not sure how realistic it is that these requests are addressed here, the PR looks otherwise good to me.