Python Roguelike

Python Roguelike

Dungeon fighting/explorer game made with Pygame

June 2019
Python

Project Overview

Inspired by roguelikes such as Enter the Gungeon, this game procedurally generates sets of corridors and rooms for the player to traverse and fight in. The goal is to explore the entire set of rooms and defeat all the enemies.

Technical Implementation

  1. Map Generation: The map is generated recursively based on a number of room templates. Each room has designated entrances, so hallways and additional rooms are generated after each step.

  2. 3D Perspective: Although the map is 2D, the renderer uses different texture combinations to create a 3D perspective effect.

  3. Pygame: The game is built using the Pygame library, providing a solid foundation for 2D game development in Python.

Visuals

Here's an image of one level:

Roguelike from farther camera distance
Roguelike from farther camera distance

Future Improvements

  • Add more variety in room types and enemy behaviors
  • Implement a progression system with upgrades and new abilities
  • Enhance the visual effects and add sound