Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export replays as video #78

Open
strakam opened this issue Oct 6, 2024 · 2 comments
Open

Export replays as video #78

strakam opened this issue Oct 6, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@strakam
Copy link
Owner

strakam commented Oct 6, 2024

Currently, we can encode replays as pickle files and users need to have this repository installed to run and view replays.

It would be great, if Replay class had a feature that would record pygame window and export the game in some video format, e.g. GIF.

Maybe utilize this: https://gist.github.com/RicardoRibeiroRodrigues/9c40f36909112950860a410a565de667

@strakam strakam added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Oct 6, 2024
@revolko
Copy link
Collaborator

revolko commented Nov 4, 2024

This one can do mp4s: https://pypi.org/project/pygame-screen-record/

@strakam
Copy link
Owner Author

strakam commented Nov 5, 2024

Thx, I'll take a look. We will see how the workflow will look like for others (including me). Currently, since we have easy deployment, every game has automatic replay link which is just perfect, lets see how it goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants