yiotro / Antiyoy

A source code of android game called 'antiyoy'.
422 stars 54 forks source link

Feature request: show all tower shields instead of just one #50

Closed MichaelS11 closed 5 years ago

MichaelS11 commented 6 years ago

Great game! :)

When clicking on a tower, would it be possible to show all the tower shields for that territory, instead of just the one? This would make it easier to see what area is covered and where best to place a new tower.

yiotro commented 6 years ago

Hmm, that's interesting idea. There is only one problem: on large territories there may be too much shields at one time which can cause fps drop. But it can be easily fixed by applying distance limit for those shields (not show all, but only nearby ones). I'll think about it.

MichaelS11 commented 6 years ago

Sounds great, having a limit to the number of shields shown would be smart.

OvermindDL1 commented 6 years ago

Or just draw all the shields in a single batched and cached draw call, shouldn't have much cost then.

MichaelS11 commented 6 years ago

Looks like this was implemented, thank you very much! :)

What do you think about having different shield colors depending on power level / protection level?

yiotro commented 6 years ago

Nice to see that update was processed to GP so fast. I actually thought that it takes longer. About your idea:

  1. It will be quite unobvious for players and require to add explanations.
  2. To be sure that it can be rendered without switching texture I will have to make it slightly more complicated, which is always not a good thing.
OvermindDL1 commented 6 years ago

For colors just a simple vertex coloring in the batch would work with that and still be a single texture and batch. But yeah, the explanations are more of a question then...

MichaelS11 commented 6 years ago

If the colors matched or where similar to the tower colors then it would be pretty straight forward.