sourencho / ungroup_game

A multiplayer game about temporary alliances written with a custom engine in C++ and SFML
14 stars 1 forks source link

Visualize group resource counts #143

Closed sourencho closed 4 years ago

sourencho commented 4 years ago

Description

Show one cell per resource in group. Meaning if you have one blue and one red resource, half the group will be blue and the other half red. With three blue and one read, roughly three quarters of the group will be blue and the one quarter red. A property of displaying group resources this way is that if you see a group that's just read, there is no way to know if it has one red or a hundred - but the moment it gathers one other resource it becomes apparent.

Group collecting resources group_resource_ratio_visualization

Fixes

Fixes #133

Commits

[c209825] Visualize group resource count via voronoi shader

[b80d744] Show ratio of resources in mine