Skip to content

An experimental maze built with Python and OpenGL.

License

Notifications You must be signed in to change notification settings

ruscoe/pyopengl-maze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Experimental Maze with Python and PyOpenGL

An experimental maze built with Python and OpenGL. Textures generated by Midjourney.

3dmaze

Requirements

Tested with Python 3.10.12 on Ubuntu 22.04.4 LTS.

Running

In the root path, enter: python3 maze.py

Maps

Maps can be found in the /map directory. To load a map, pass the map name as a parameter:

python3 maze.py --map 001

Leave out the map parameter to generate a random map.

Controls

Esc = Exit

W = Move forward

S = Move back

A = Turn left

D = Turn right

, = Strafe left

. = Strafe right

Things to do

  • Collision detection
  • Free movement
  • Sprites
  • Decals
  • Doors
  • Animated textures
  • Loadable maps

Things to fix

  • Collision detection makes walls sticky
  • Cannot move and turn at the same time

About

An experimental maze built with Python and OpenGL.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages