pysc2
pysc2 copied to clipboard
Expose more information in the renderer
There's a fair amount of information in the game that isn't yet exposed in the renderer:
- build queue
- transports
- selection
- friendly action names
- control groups
- maybe representing shields and energy
I had a simple text element for the shields and energy lying around from previous testing with what I think you are looking for, it's not amazing but it helps a little bit. I have created a pull request if you want to take a look. #45
@tewalds Does this appear to be in the right direction?
That does look like the right direction. I added a few comments to make it a bit cleaner. Please test that it works at different window sizes/resolutions.
I'm reading through the code but could you give me an example of friendly action names?
@tewalds
Timo, I'm trying to add control groups on the renderer.
I just made some boxes for the control groups. If you have any idea or feedback, please tell me.
@chris-chris Hey, what would the control groups be listed as in code? I was wondering if i could use them for stuff.
Take a look at my latest changes. It shows better action names, recent actions, selections, build queues, and cargo. The one thing that is still missing is control groups, which I'm not sure how best to expose.