Skip to main content

PyViser - Rocket League replay visualizer

Project description

RocketSim Visualizer

forthebadge

A lightweight visualizer for rocketsim-rs binds that listens for UDP packets.

Any language can communicate with the visualizer by sending UDP packets in the correct format, but rocketsim-rs has a GameState.to_bytes() function that does this automatically.

image

Usage

To see an example of how to communicate with the visualizer, see the example in the rocketsim-rs repository.

You can also choose to use the integrated support in RLGym 2.0 and RLGym-PPO or use the PyViser-Py library to interface directly from Python via RocketSim classes.

Controls

NOTICE: These controls WON'T WORK until you've toggled the menu off. The menu is open by default upon launch.

Key Action
Esc Toggle menu
1 - 8 Change car camera focus
9 Director camera
0 Free camera
W Move forward
A Move left
S Move backward
D Move right
Space Move up
Left Ctrl Move down
Left Shift Slow
R State set ball towards goal
P Toggle pause/play
+ Increase game speed +0.5x
- Decrease game speed -0.5x
= Set game speed to 1x
Left click1 Drag cars and ball

1 - Requires the menu toggled ON to free the cursor, you can drag cars and the ball to move them in the world. Requires the agent on the other side to support state setting.

Modes

Currently, both standard soccer and hoops are supported.

image

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyviser-0.8.9.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyviser-0.8.9-py3-none-any.whl (28.7 MB view details)

Uploaded Python 3

File details

Details for the file pyviser-0.8.9.tar.gz.

File metadata

  • Download URL: pyviser-0.8.9.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyviser-0.8.9.tar.gz
Algorithm Hash digest
SHA256 2957fbaabb5752f6a59637bc93b116a9f91c0aa24bd9caa16f181d5fd1d64a14
MD5 387c0b90a3604fe28932442e9cca099a
BLAKE2b-256 d563fec6ee8bbe6e51ccf11b15e6ca2063eb57cde4829a9f8d134ce1cd35e2de

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyviser-0.8.9.tar.gz:

Publisher: wheels.yml on 2ToTheNthPower/rlviser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyviser-0.8.9-py3-none-any.whl.

File metadata

  • Download URL: pyviser-0.8.9-py3-none-any.whl
  • Upload date:
  • Size: 28.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyviser-0.8.9-py3-none-any.whl
Algorithm Hash digest
SHA256 ef0ecaf8b5cdec8acc1193e4a6d660d5f04a886ec9b34d4d5252dafc0548c47b
MD5 4031c50f8b3b9a029b15c478c8d1c774
BLAKE2b-256 b358debcb93368bd8fb4c991f100592f7a607ef8e541896177d18d92c8d5db61

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyviser-0.8.9-py3-none-any.whl:

Publisher: wheels.yml on 2ToTheNthPower/rlviser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page