top of page

Build dengine

1 / Download and Install Libraries

First, download and install these libraries:

  • SDL2: Go to the SDL2 website and download the latest version of SDL2 for your platform

  • SDL2_tff: Go to the SDL2_ttf website and download the latest version of SDL_ttf for your platform

  • SDL2_mixer: Go to the SDL2_mixer website and download the latest version of SDL2_mixer for your platform

  • Pybind: To install Pybind, you need to have Python 3 and pip installed on your system. Open a command prompt and enter the command "pip install pybind11" to install Pybind.

  • Tkinter: To install Tkinter, you need to have Python 3 and pip installed on your system. Open a command prompt and enter the command "pip install python-tk" to install Tkinter.

  • Pillow: To install Pillow, you need to have Python 3 and pip installed on your system. Open a command prompt and enter the command "pip install Pillow" to install Pillow

2 / Run the Editor

To run the editor:

  1. Go to the Engine folder

  2. Edit the macbuild.py file to match your Python version

  3. Run the command: python3 macbuild.py

  4. Now run the command: python3 EditorIntergrated.py  

3 / Start the Game

There are 2 ways to start the game:

  • One way is to click on "Start Random Game" to play the game with random customizations generated with 3 game levels.

  • The second way to start the game is to first customize the game according to the player's liking.

    • Different customizations offered:​​

      • Customize rows and columns, interconnectivity (lower the interconnectivity higher the difficulty)

      • Players can also customize the monster count and treasure percentage wanted in the game

      • Players also get the option of picking between 2 different tile themes, 2 types of player characters to choose from, and 2 types of monsters

      • If the player wants to continue customizing the game, there is a "Customize Level" drop-down menu that will allow for adjusting the settings for individual levels.

    • After customization the player can start the game by clicking on "Start Game" and the game will start with the configured customizations.

4 / Play the Game

To play the game:

  • Use WASD or Arrow keys to move around the game world.

  • To perform actions, you need to roll dice. The dice roll determines the number of actions you can perform in that turn.

  • Press the "R" key to pick up the Axe.

  • You must have the Axe to defeat the monsters. Each monster requires 1 or 2 axe kills to die.

  • Press the spacebar to enter the attack stance and then press the direction key to attack in that direction.

  • Press the "T" key to pick up the treasure.

  • The game includes a maze, and your objective is to reach the end-level door without getting killed by monsters.

dengine

Sanjana Nalawade

Yikan Zhang

Siddharth Singhai

Adaobi Onyekaba

Lakshmi Posni

©2023 by dengine

bottom of page