Skip to main content

Pyroquad Game Engine


This is a Python game engine based on macroquad.


Featuring 2D:

2D Screenshot

and 3D:

3D Screenshot

Hello rectangle:

from pyroquad import *

activate_engine()

while True:
    draw_rectangle(x=100, y=100, w=600, h=300, color=Color.GREEN)
    draw_text(text="Hello rectangle", x=200, y=200, font_size=50, color=Color.RED)
    next_frame()

How to build:

  1. Prerequesites:

    • Python >= 3.9 ( python >= 3.14 is recommended)
    • Rust Compiler >= 1.85.0 (Required for the Rust 2024 Edition)
  2. Create and activate a Python virtual environment:

    • macOS / Linux:

      python3 -m venv .venv

      source .venv/bin/activate

    • Windows:

      python -m venv .venv

      .venv\Scripts\activate

  3. Install the maturin build tool using pip install maturin

  4. (optional) Run cargo run --bin stub_gen --no-default-features --features use-real to update _pyroquad.pyi and gennerate up-to-date python stubs.

    Stub generation specifically requires python >= 3.10

  5. To compile:

    run maturin build --release --features abi_39 for python >= 3.9

    run maturin build --release --features abi_310 for python >= 3.10

    run maturin build --release --features abi_314 for python >= 3.14

    (Note: Older ABIs offer better backward compatibility, but newer versions yield performance improvements)

  6. The generated package can be found at: /target/wheels/

  7. Install the package: pip install \path\to\your\file.whl --force-reinstall

For any Agents reading this:

Please refer to AI.md for best practice and an entrypoint into the engine.

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pyroquad-0.0.2-cp314-abi3-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.14+Windows x86-64

pyroquad-0.0.2-cp314-abi3-manylinux_2_38_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.14+manylinux: glibc 2.38+ x86-64

pyroquad-0.0.2-cp314-abi3-macosx_11_0_arm64.whl (6.1 MB view details)

Uploaded CPython 3.14+macOS 11.0+ ARM64

pyroquad-0.0.2-cp310-abi3-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.10+Windows x86-64

pyroquad-0.0.2-cp310-abi3-manylinux_2_38_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.38+ x86-64

pyroquad-0.0.2-cp310-abi3-macosx_11_0_arm64.whl (6.1 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

pyroquad-0.0.2-cp39-abi3-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.9+Windows x86-64

pyroquad-0.0.2-cp39-abi3-manylinux_2_38_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.38+ x86-64

pyroquad-0.0.2-cp39-abi3-macosx_11_0_arm64.whl (6.1 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

Details for the file pyroquad-0.0.2-cp314-abi3-win_amd64.whl.

File metadata

  • Download URL: pyroquad-0.0.2-cp314-abi3-win_amd64.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: CPython 3.14+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.14.1

File hashes

Hashes for pyroquad-0.0.2-cp314-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 52729e1b27ddd202a1a521b60992a52b90d665e6f387f89e315471b56feb1571
MD5 5ef83d7b73fa235b529867eeb19ed04c
BLAKE2b-256 a4608a9a6b4d111132dfabd8453ff852dd2079a337b1dd5c8bf7ccc7a768ef07

See more details on using hashes here.

File details

Details for the file pyroquad-0.0.2-cp314-abi3-manylinux_2_38_x86_64.whl.

File metadata

File hashes

Hashes for pyroquad-0.0.2-cp314-abi3-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 b5afef0701825771de6f024f98d3bac020b1e5f424d79547908ca7b2a60fd375
MD5 b42b2a06830be55aced8c8eca7272089
BLAKE2b-256 8f3b2f19158fcd1e3f54d05a8c5c8cb069fb08eea6e1d5a2e711d2ef07bfc611

See more details on using hashes here.

File details

Details for the file pyroquad-0.0.2-cp314-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyroquad-0.0.2-cp314-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 77adf7a7c6246cc88675b28607dd7489379a6efc38b2c033596b550f0dfcb217
MD5 29253156246b0baede450e29b90fe6a1
BLAKE2b-256 f4adf398f0b6c5e53ee18ad8ae6062463c80192f4abab1f0db2e55fc1bb5fd79

See more details on using hashes here.

File details

Details for the file pyroquad-0.0.2-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: pyroquad-0.0.2-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.14.1

File hashes

Hashes for pyroquad-0.0.2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 50ed3383f78b6a4b494d2a0b45e7a0b9a41f2f94feceb79b08750fcc6640e6e4
MD5 4a5405ea08007e3f4098b6ed0457792b
BLAKE2b-256 f7143f4b05503c6c9410dade43f7d22d662362d879110b931ee53ac8eff0f8da

See more details on using hashes here.

File details

Details for the file pyroquad-0.0.2-cp310-abi3-manylinux_2_38_x86_64.whl.

File metadata

File hashes

Hashes for pyroquad-0.0.2-cp310-abi3-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 4173010f60a93c437c1d4727570f86a36ac033f857c728a04d5e3c5f38a6c181
MD5 20e2325ed7349a866dfadbea136922bf
BLAKE2b-256 e727f6ac455c8c180860527a0cac86710d2e0e667f460146afa630b31420eb73

See more details on using hashes here.

File details

Details for the file pyroquad-0.0.2-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyroquad-0.0.2-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2baf813c0c8a80b7e06ada3543060f8c0b3c8a7a68a73c52da90a7d0a9e0be54
MD5 1b80036f4df5aaf84b2e21d2100cac44
BLAKE2b-256 12616539e022d27aa529fcbcb21abd8de132075ef5cac8bb3c34d2a5fd2c68cd

See more details on using hashes here.

File details

Details for the file pyroquad-0.0.2-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: pyroquad-0.0.2-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.14.1

File hashes

Hashes for pyroquad-0.0.2-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 98cb59d27dda42f1638637c8aa9acb7d8fc2276aea16b7847b49fec9ca6c529d
MD5 164651662456eecbeb6788f84429fa08
BLAKE2b-256 932844cc37ffb6132c087904d146fa5b5250e3785f4f563a1fa22a380984f3a3

See more details on using hashes here.

File details

Details for the file pyroquad-0.0.2-cp39-abi3-manylinux_2_38_x86_64.whl.

File metadata

File hashes

Hashes for pyroquad-0.0.2-cp39-abi3-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 0fdd3ab201cd82eabbf7aad56a5f8b0af3d97a2c1f30a339de75167d57d81695
MD5 05413a4af2e09296f4bbe4989ba72025
BLAKE2b-256 1f6fbcdaa6645b882828551ba38d1221f024cc03270e9652ff688e2a1aafeaf3

See more details on using hashes here.

File details

Details for the file pyroquad-0.0.2-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyroquad-0.0.2-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 64a002c1bca6c56d59566c7ffe5b69611b9f3c2c46a5a3c09147c8019fa82753
MD5 0b81c55e2d57e8b1a692b8c84f7ce7b3
BLAKE2b-256 c256a3f962c0a737601d0589578caff8dd0b1d150263c30d66663fcf9377d85d

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.2

9 files

0.1.1

9 files

0.1.0

9 files

0.0.5

9 files

0.0.4

9 files

This release

0.0.2 This release

9 files

Supported by

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