Author Topic: better clicking on resources to harvest  (Read 941 times)

will

  • Golem
  • ******
  • Posts: 783
    • View Profile
better clicking on resources to harvest
« on: 8 February 2011, 12:33:52 »
I have about a 50% hit rate for getting my units to harvest with a right-click.

Two things can be done to make it much easier:

1) polygon ray intersection for the clicking so we know you click on the visual representation of gold or a tree and not the tile that is some distance behind it but on that ray...

1b) or if you use colour-based picking, draw the resources onto the buffer too!

2) It would be very useful if, when right clicking a worker near a resource they can harvest, they harvest it even if you miss.  The miss factor might be half-a-tile or one-tile - so very close, but not exact.

If the user wants to move their worker to that spot rather than harvest they can always use the actual 'move' command with the left-click destination.

Obviously (1b) and then (2) are perhaps much simpler to implement than (1).  Anything to make it easier to command things.
« Last Edit: 8 February 2011, 12:37:27 by will »

Cygal

  • Guest
Re: better clicking on resources to harvest
« Reply #1 on: 8 February 2011, 12:38:14 »
I think there is an harvest button, and I think it asks the worker to harvest the nearest tree. Not sure it solves it for less experienced users though.

will

  • Golem
  • ******
  • Posts: 783
    • View Profile
Re: better clicking on resources to harvest
« Reply #2 on: 8 February 2011, 12:43:48 »
yeap, but I really want right-click to do the most obvious thing - and if I click on gold (and not the tile containing the gold, which is below it but my click misses) then I mean to harvest gold.

Clicking on trees is really really fiddly.

That the new MG tutorial has to explain to the beginner how tricky it is click on something and that they have to double-check ... that's wrong solution IMO.

Its not education, its sane defaults that we need!

:)

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: better clicking on resources to harvest
« Reply #3 on: 8 February 2011, 12:51:09 »
yeap, but I really want right-click to do the most obvious thing - and if I click on gold (and not the tile containing the gold, which is below it but my click misses) then I mean to harvest gold.

Clicking on trees is really really fiddly.

That the new MG tutorial has to explain to the beginner how tricky it is click on something and that they have to double-check ... that's wrong solution IMO.

Its not education, its sane defaults that we need!

:)

This!.

/signed.
WiP Game developer.
I do danish translations.
"i break stuff"

silnarm

  • GAE Team
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: better clicking on resources to harvest
« Reply #4 on: 8 February 2011, 23:57:50 »
The appropriate solution is 1b (except its not 'colour based', its regular OpenGL 'name based'), as recently discussed here.
Glest Advanced Engine - Code Monkey

Timeline | Downloads