'How to add GUI to custom OpenAI gym enviroment?
I was following
To set up an altogether new game for myself (sort of low graphic subway surfer). Though, I am able to understand how the mechanism are incorporated in a custom openai gym environment, I am still not able to make out how to add graphics to my game.Do I need a new library altogether & club it up with openai gym environment (like pygame)? New to game development hence need help.
Solution 1:[1]
You will need separate files for the environment and the GUI, yes. The question is: why do you need the environment in the first place? If it is only for training your agent, then you can just import the trained agent into your GUI script and load it and then use it to make predictions and moves etc.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | JollyOwl |
