norefle / rl-vista

PyGame visualizer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rl-vista

PyGame visualizer for Reinforcement Learning

Run

PYTHONPATH=. poetry run python examples/movements/main.py

Usage

  1. Create event System: rlv.core.System
  2. Register all components
  3. Register engine (see main/Application.init)
  4. Create map (basically array of images)
  5. Create objects (entities with images)
  6. Create actors
  7. Order ^ is important, the objects created first, will be rendered first, i.e. behind the objects created last.
  8. Run the main loop (Engine.get().next or for _ in Engine.get())

That's all

"Eye candy"

About

PyGame visualizer

License:MIT License


Languages

Language:Python 100.0%