A Game Engine Made In Python
Project description
MandawEngine
A Game Engine Made in Python with the Pygame Module
Installation
To Install, type
pip install mandaw
To Get The Latest Version of MandawEngine:
- Download the zip
- Extract the zip
- Navigate to the folder in cmd or terminal and type:
On Windows:
python setup.py install
On Mac and Linux
python3 setup.py install
Getting Started
import Mandaw
from mandaw import *
Make a window
from mandaw import *
mandaw = Mandaw()
while True:
mandaw.run()
Make a simple square
square = GameObject(mandaw, "rect", x = 0, y = 0, color = "red", width = 20, height = 20)
Center it with
square.center()
Draw it
while True:
square.draw()
Full Code
from mandaw import *
mandaw = Mandaw("First Mandaw Game")
square = GameObject(mandaw, "rect", x = 0, y = 0, color = "red", width = 20, height = 20)
square.center()
while True:
square.draw()
mandaw.run()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mandaw-1.0.7.tar.gz
(5.5 kB
view hashes)
Built Distribution
mandaw-1.0.7-py3-none-any.whl
(6.9 kB
view hashes)