pygame games

Run a pygame game in the browser as it is, or let the editor's AI turn it into an instant Python game (PyLevate) with one click.

A pygame project runs real pygame (pygame-ce on Pyodide) in the browser. Your desktop game loop works as it is.

Turn a pygame game into an instant Python game

An instant Python game (PyLevate) opens at once, and has leaderboards, saves and iOS and Android export.

  1. Open your pygame game in the editor, or find it on your Projects page.
  2. Click Make an instant Python game.
  3. Read the report: what the AI will rewrite (for example pygame.mixer.music, threads, sockets, global).
  4. Click Make it.

You get a new project, “name (instant)”. Your pygame game stays as it is.

The new project opens with the AI chat, and the message to port the game is sent for you. The AI writes main.py, and every change is test-built before it is applied. Check the game in the preview, then Keep or Revert.

The report reads your code; it doesn’t run it. A daily limit on new projects applies.