Skip to content

Goshoon/Pixel-Dynasty

Repository files navigation

Pixel Dinasty - Sandbox

Small sandbox game made using C++ and SDL2, based in games lie "Powder" and "The Sandbox".

screenshot2 screenshot4

Features

  • Place Static and Dynamic pixels
  • Use materials such as Water with basic fluid mechanics or dirt
  • Swap colors for dynamic and static pixels
  • Chnage background color
  • Save and load and share your levels! (Feature not implemented yet)

Usage

Before running the app place Resources folder in the Bin folder, or anywhere where the executable is creted, after that just run the application.

Compile

Linux

On Linux, you can use `make` to build the project. This will place everything in the `Bin` folder.

Windows

On Windows, you have two options to build the project::
  1. Manual Build - Build the project manually using g++. - Place the required files (SDL2 .dll files and the Resources folder containing assets) in the appropriate directories.

  2. Automated Build (using build.bat) - Use my script build.bat, which uses MinGW to build the project and automates most tasks. - Requirements: You need to have SDL2/include and SDL2/lib directories in a folder named Dependencies on your local C: drive. You can also modify the DEFAULT_SDL2 to point to a different folder if your SDL2 files are located elsewhere. - This script also embeds descriptions, version information, and a game icon into the executable (PixelDynasty.exe), making it ready to be shipped.

In the end, you should have a Bin folder containing the Resources folder along with all the necessary .dll files.

Credits

  • SDL2: The Simple DirectMedia Layer (SDL) is used for handling graphics, events, and input. SDL is licensed under the [Zlib License](https://www.libsdl.org/license.php).
  • Dear ImGui: Dear ImGui is used for creating the GUI elements in the project. It is a bloat-free graphical user interface library primarily used for debugging tools and applications. ImGui is licensed under the [MIT License](https://github.com/ocornut/imgui/blob/master/LICENSE.txt).
  • C++ Standard Library: The C++ Standard Library is used for many common operations like memory management, data structures, and more.

License

This project is licensed under the AGPLv3 - see the [LICENSE](LICENSE) file for details.

About

Sandbox particle generation made on C++ with SDL2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages