Skip to main content

A game engine made with pygame.

Project description

AerForge

A game engine made with pygame.

Getting Started

  1. Install Python
  2. Open cmd/terminal and type:
pip install AerForge

Examples

Creating a window

from aerforge import *

forge = Forge()

@forge.event
def update():
    pass

forge.run()

Creating a cube

from aerforge import *

forge = Forge()

class Cube(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()

cube = Cube()

@forge.event
def update():
    pass

forge.run()

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

aerforge-0.3.5.tar.gz (65.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page