Skip to content

321BadgerCode/platformer_playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Platformer Playground logo

Platformer Playground

Generate fun levels and play them!

🚀 Overview

Welcome to Platformer Playground! There is a python program which can be run to generate your own levels! The levels don't have to be made using the python program however. The game loads in levels using a bitmap file, so you can make your own levels using any image editor!

🎨 Features

  • Level Editor: Create your own levels!
  • Customizable: The speed of the different enemies can be adjusted using the JSON file.
  • Smooth Gameplay: Enjoy a smooth gameplay experience!

🛠️ Installation

To get started with the program, follow the steps below:

  1. Clone the Repository
git clone https://github.com/321BadgerCode/platformer_playground.git
cd ./platformer_playground/
  1. Compile the Program
g++ ./main.cpp -o ./platformer_playground -lglfw -lGL -lGLEW -lSOIL
📦 Dependencies
  • OpenGL: sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev
  • GLEW: sudo apt-get install libglew-dev
  • SOIL: sudo apt-get install libsoil-dev

📈 Usage

To use the program, there is only one step!

  1. Run the program
./platformer_playground

🎮 Level Editor

To create your own levels, there is only one step!

  1. Open the Level Editor
python ./level_editor.py
💻 Color Meanings
Color Meaning
$\textcolor{black}{\text{Black}}$ Empty
$\textcolor{blue}{\text{Blue}}$ Player
$\textcolor{green}{\text{Green}}$ Checkpoint/finish line
$\textcolor{red}{\text{Red}}$ Patrolling Enemy
$\textcolor{yellow}{\text{Yellow}}$ Stationary Enemy

📸 Screenshots

📜 License

LICENSE

About

Generate fun levels and play them!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published