any language.
im wanting to make a program that will show what ability’s im using in a game and have the picture of the ability’s in a grid like ortholinear keyboard keys. it would be cool if the abilitys where tansparent untill the key is pressed then go opaque until i let go.
iv been trying to find out how to do it with python but im not having much luck. i started with tkinter and i dont realy think that has the tools i need then i tryed matplotlib that seams tobe morefor data stuff
if somone could point me in the right direction id appreciate it
Advertisement
Answer
I suggest you give this link a read: Monitor keypress in tkinter without focus
You can refer to the answer that is not accepted, it shows how to accept key even if the program is not focus on.
My suggestion is that, you create a “ability layout” in tkinter, then you assign the key of the ability layout to the actual keyboard. The background or layout opacity is constantly low, and once it is pressed, you trigger the opacity to be high.
The problem you may face is that, you might get ban if you tried to run it, as we are unsure about the game ban mechanics.