A simple 2D game engine written in Python with PyGame.
- Install Python
- Open cmd/terminal and type:
pip install aerforge
from aerforge import *
forge = Forge()
@forge.event
def update():
pass
forge.run()
from aerforge import *
forge = Forge()
class Rect(Entity):
def __init__(self):
super().__init__(
window = forge,
shape = shape.Rect,
width = 20,
height = 20,
x = 0, y = 0,
color = color.Color(0, 255, 255)
)
self.center()
rect = Rect()
@forge.event
def update():
pass
forge.run()