Closed Tuxliri closed 2 years ago
Need to understand why the Rendering class is not available from the base gym.utils classes, see https://github.com/Farama-Foundation/gym-docs/issues/134
Unfortunately the documentation is already ahead of the Gym code. The rendering API will change soon but it’s not there yet. You can use the code from https://github.com/Farama-Foundation/gym-examples
The new APIs are not yet supported by stable-baselines3.
Align the rendering method of your environment with the guidelines at https://www.gymlibrary.ml/content/environment_creation/#rendering, namely by using the Renderer class to have a variable framerate visualizer for the PyGame rendering.