A game engine made with SDL 2.
Project description
Forge S
A game engine made with SDL 2.
Getting Started
- Install Python
- Open cmd/terminal and type:
pip install ForgeS
Examples
Creating a window
from forges import *
class Window(forges.Window):
def __init__(self):
super().__init__()
def update(self):
pass
def on_quit(self):
pass
def run(self):
forges.run()
if __name__ == "__main__":
window = Window()
window.run()
Creating a cube
from forges import *
class Cube(Entity):
def __init__(self):
super().__init__()
self.center()
def update(self):
pass
class Window(Window):
def __init__(self):
super().__init__()
self.cube = Cube()
def update(self):
pass
def on_quit(self):
pass
def run(self):
forges.run()
if __name__ == "__main__":
window = Window()
window.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
forges-0.0.5.tar.gz
(1.2 MB
view hashes)