/moderngl-pyglet-asteroids

A quick experiment trying do combine pyglet and moderngl

Primary LanguagePythonMIT LicenseMIT

moderngl-pyglet-asteroids

preview

A quick experiment trying to combine moderngl and pyglet.

We basically render the standard example game in pyglet to an offscreen buffer and render it on a floating quad in the crytek sponza scene.

Setup

pip install -r requirements.txt

Run

python main.py

Controls

UP, DOWN, LEFT, RIGHT, SPACE

Attributions

Pyglet Asteroids

Created by Steve Landey: https://github.com/pyglet/pyglet/tree/master/examples/game

Sponza Scene

The Atrium Sponza Palace, Dubrovnik, is an elegant and improved model created by Frank Meinl. The original Sponza model was created by Marko Dabrovic in early 2002