jellewie / Unity-Gnorts

Gnorts an RTS unity game
11 stars 7 forks source link

cant build there message #24

Closed jellewie closed 5 years ago

jellewie commented 6 years ago

This message should appear if the player tries to build for <1 sec> but it can't be placed down there (Don't show directly, since we are trying to build every frame. even if we have build something in the last frame and the player mostly pressed the button longer than a frame)

See in the code:

/TODO FIXME If this is hit for more than <1 sec> than show a message that we can't build there /

jellewie commented 5 years ago

Also a red outline around the building, or a red overlay on top of the building if the building is over a spot where we can't build, would be really nice and cool

JorisVanEijden commented 5 years ago

Fixed by PR #77 ?

jellewie commented 5 years ago

Red outline is indeed done.

Just a message "Can't build on top of @e[First item that it stands on]" would be nice (This would give the user feedback that a building was tried to be placed down, and why it didn't work)