Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 1.04 KB

README.md

File metadata and controls

47 lines (27 loc) · 1.04 KB

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