This code is over 6 months old. The code may have expired and might no longer function.
View original size
A multiple choise test for heroes in overwatch 2. You will be given an image and then you have to choose the correct answer. Only covers 2/3 of the heroes because of workshop limitations. V.1.0
Sources
This post utilizes other codes either in part or in full. This could be because they remixed them, used parts of them, were inspired by them, or other reasons.
Players |
1 - 10
Categories:
Minigames,
Miscellaneous
Tags:
guess
Heroes:
Zenyatta
Maps:
Workshop Chamber
Created at:
Last updated:
Current version:
1.0
Controls
Source code
Loading...
5 Comments
hey if you want to compress your arrays to be less elements you can try this method of doing things i linked below. itll let you cover all the heroes and possibly more in the future as well! cool concept :D
https://workshop.codes/wiki/articles/how-to-compress-arrays
Yes thank you. I have now gotten the data in the game with much fewer elements, even though it was a struggle. I think I found a stable way to let the data decompress without crashing. I'll have to create the random selection and rework the HUD, and then I'll be updating the game.
If you need further compression you could do what labbed did in his bomberman gamemode. Where basically instead of compressing vectors he compressed a string of a grid. And for you, you could assign color values to each value in array. https://workshop.codes/XFZXQ
This could allow you to go to 16x16 resolution or 16x15 or etc. If you need some for hud.
I haven't checked how labbed did it but I did get the decompression to work but it was really expensive for the server so right now it mostly crashes when I start the server (even when I have given it time to do stuff). If I remember correctly I compress one line of colors (basically vectors) at a time in my 11x11 icon screen (128 icon limit) in to a string and then just split the numbers into an array, but then I still have to convert the strings into an actual number which is the most expensive part. Decompressing one image wouldn't be that bad but when there are what 43? heroes to go through with 121 pixels in each image it can't handle it with my current approach.
i recommend reaching out to the workshop.codes discord community in help-workshop. or reaching out to labbed directly through the server.
edit: id also recommend trying out the string compression in overpy, as it might be helpful and more streamlined for this kind of project.