Skip to content

Lunar2kPS/pixel-art-game

Repository files navigation

Pixel Art Game

This is a fun passion/learning project, based on TheCherno's Game Programming Series.

Overview of the Project

Preview of the project's work-in-progress

This project is in C++ using the following, despite the original tutorial series being in Java:

  • CMake
  • clang/clang++,
  • Ninja (on Windows)
  • Unix Makefiles (on Linux)
  • Bash

Current status:

  • ✅ I've setup the project with GLFW/OpenGL (using an OpenGL extension library GLAD to retrieve the latest OpenGL 4.1+ functions), and have begun basic rendering commands in C++/OpenGL/GLSL!
  • 🛠️ I'm currently working on fixing the rendering of the grass tiles now, and then will add a basic player with movement around the game world.

Getting Started (for Developers)

Git Submodules (Note)

In order to build this project, you'll need to clone this repo's Git submodules with:

git submodule update --init --recursive

Building & Running the Project

Once your development environment is setup, you can run the following on any platform (Windows, MacOS, or Linux):

# This creates an alias for each of the scripts under the ./scripts folder!
# Run it and see the output of each of the aliases it creates.
git submodule update --init --recursive
source ./cmake-cpp-scripts/aliases.sh

# This calls the build.sh and run-release.sh scripts under the scripts folder, using aliases:
build && run-release

References

About

This is a fun passion/learning project ported from Java to C++, based on TheCherno's Game Programming series.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published