Skip to main content

2D game engine for Python with physics, collision detection, and texture support

Project description

Jwarol Engine

2D game engine for Python built with C++ and pybind11.

Features

  • Object type system (PLAYER, ITEM, GUI, OBJECT)
  • Physics engine with gravity and collision detection
  • Boundary checking
  • Texture loading support
  • OpenGL rendering
  • Window management

Installation

pip install jwarol==0.3.2

Quick Start

import jwarol

engine = jwarol.Engine()
engine.init(800, 600, "My Game")

player = engine.create_object(100, 100, 50, 50, jwarol.ObjectType.PLAYER)

while engine.is_open():
    engine.clear(0.2, 0.2, 0.2)
    engine.draw_rect(player, 0.0, 1.0, 0.0)
    engine.update()

engine.close()

Author

ruslan

License

MIT License - see LICENSE file

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

jwarol-0.3.2.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

jwarol-0.3.2-cp312-cp312-win_amd64.whl (106.3 kB view details)

Uploaded CPython 3.12Windows x86-64

File details

Details for the file jwarol-0.3.2.tar.gz.

File metadata

  • Download URL: jwarol-0.3.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for jwarol-0.3.2.tar.gz
Algorithm Hash digest
SHA256 cf5613e367f8292eb8b443aa15e99de619c4b1e385fc39df87e963a25c84dc48
MD5 99dd7254940b16f3e3b6fec085f079b0
BLAKE2b-256 3a8713ac19ab30d605bb547d28da53c7468f07f844910e89bc01583a9977ef4a

See more details on using hashes here.

File details

Details for the file jwarol-0.3.2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: jwarol-0.3.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 106.3 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for jwarol-0.3.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8c2be0e8208d2c72ea32e45b01571d2ab83f810b757ca96372a85471626eab10
MD5 851b1029e2255ebeba206af9bad8fac9
BLAKE2b-256 2f84cb481f0c40191cd436b1284185b38b0f193306d86ad87dc2ac47cb762f86

See more details on using hashes here.

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