zengm-games / zengm

Basketball GM (and other ZenGM games) are single-player sports management simulation games, made entirely in client-side JavaScript.
https://zengm.com
Other
361 stars 131 forks source link

Add logo in center field in live football games #458

Closed mamamia5x closed 10 months ago

mamamia5x commented 11 months ago

I was tinkering around and came up with a way to show the logo. Here is how they currently look. image image

I'm not that good with TS, so it took me a bit to figure things out. Notes:

Please let me know if you have any questions or if there is anything else I can do to this.

dumbmatter commented 11 months ago

Very cool! I thought about doing this myself but I decided it might look too busy. I'll leave this PR open in case I reconsider. For now, I still have a ways to go on the basic functionality of the new feature.

mamamia5x commented 11 months ago

It's looking good so far. Just a quick idea, maybe there could be a way to change grass color. Whether it's from the actual team data (like having jersey colors + grass colors), or just different shades of green picked by a random number generator.

mamamia5x commented 10 months ago

Just updated the code to fit the current build, just have to resolve some conflicts. I changed the image size to fit around 10 yards in the center. image

mamamia5x commented 10 months ago

459 is the updated branch