pysc2 icon indicating copy to clipboard operation
pysc2 copied to clipboard

Expose more information in the renderer

Open tewalds opened this issue 6 years ago • 7 comments

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

tewalds avatar Aug 19 '17 13:08 tewalds

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

glovekyl avatar Aug 20 '17 18:08 glovekyl

@tewalds Does this appear to be in the right direction?

croberts avatar Nov 05 '17 05:11 croberts

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.

tewalds avatar Nov 07 '17 07:11 tewalds

I'm reading through the code but could you give me an example of friendly action names?

JCSTJEAN avatar Apr 22 '18 13:04 JCSTJEAN

@tewalds Timo, I'm trying to add control groups on the renderer. 2018-04-25 4 37 20

I just made some boxes for the control groups. If you have any idea or feedback, please tell me.

chris-chris avatar Apr 24 '18 19:04 chris-chris

@chris-chris Hey, what would the control groups be listed as in code? I was wondering if i could use them for stuff.

JCSTJEAN avatar Apr 26 '18 16:04 JCSTJEAN

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.

tewalds avatar May 30 '18 14:05 tewalds