Skip to content

Simple game made in Python from scratch, using only OpenGL.

Notifications You must be signed in to change notification settings

marcuscastelo/cg-game

Repository files navigation

Description

A Game developed only with OpenGL and Python for Computer Graphics course.

Gameplay video

Kazam_screencast_00001-1659805094.mp4

In-game screenshots

image image

Model screenshots

See images

image image image image image image image image image

Installation

Prerequisites

  • Python 3.9 or 3.10 (tested with 3.9.6, 3.9.12 and 3.10.10)
  • OpenGL 3.3.0 or higher

Clone the repository with git clone --recursive https://github.com/marcuscastelo/cg-trab

Install dependencies

Linux

make install-deps

Windows (or without make)

pip install -r requirements.txt cd vendor pip install -e utils pip install -e dpgext

Run the game

make run

or

python src/main.py

Controls / Keybinds

  • WASD: move the character
  • Space: jump
  • R: shoot
  • E: select object to manipulate in GUI
  • Mouse: direction of the character's view
  • Ctrl: run (changes FOV and character speed)
  • F: inspect weapon

About

Simple game made in Python from scratch, using only OpenGL.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages