ZeroK-RTS / Zero-K

Open source RTS game running on the Spring/Recoil engine
https://zero-k.info
GNU General Public License v2.0
676 stars 203 forks source link

Clicking outside of startbox should point to the box #947

Open Licho1 opened 9 years ago

Licho1 commented 9 years ago

This makes it much harder to for newbies to realize whats going on and to place. In some cases, like FFA, box is very tiny.

If possible, point closest to clicked location should be selected within valid startbox.

sprunk commented 9 years ago

Spring offers no API to set engine startpos currently.

I think it is good to block clicks outside box because it prevents misclicks which result in people starting on bad places on edges.

Maybe some visual feedback when clicking outside of box would be good.

GoogleFrog commented 9 years ago

I like clicking outside the boxes. Could we lua it? Alternately the box could flash or otherwise show itself on a failed click.

Licho1 commented 9 years ago

Misclick is not a huge problem there are timers that wait so you always have time to correct.

CarabusX commented 9 years ago

I liked clicking outside of boxes too. Misclick was only a problem back when we still had Ready button - you could misclick trying to click Ready and then immediately confirm the wrong spot by hitting the button.

Unfortunately as Sprung pointed API lacks required functions, there is GetTeamStartPosition but no corresponding Set function. So a solution would require lots of hacks.