/pygame-reload

Reload pygame on code changes (Linux or Windows)

Primary LanguagePython

pygame-reload

Reload pygame on code changes (Linux or Windows). This project doesn't do much other than provide a template for pygame beginners!

Install

Install:

  • git
  • python
  • node.js

Install pygame:

pip install pygame

Install nodemon:

npm i -g nodemon

Open a terminal in a directory to copy this project to, and run git clone:

git clone https://github.com/Zantier/pygame-reload

Run

On Linux, run:

nodemon main.py

On Windows, double click dev.cmd