Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 2.04 KB

README.md

File metadata and controls

47 lines (35 loc) · 2.04 KB

PaddleDash

Demo Video: https://youtu.be/-TnrBlE4O6Q

Installation

The binaries I have made so far are for Linux and Windows machines; I haven’t tried to build them on macOS. Just go to the latest release link and download the installer or archive file for your operating system.

Download the Latest Release: https://github.com/zEuS0390/cpp-sfml-pong-game/releases/latest

Build from Source

You can build the game from the source using the CMake tool, so make sure you have it installed. I designed it to allow you to easily build it on your own machine. The game was created with the SFML library, but since it's already defined in the CMake configuration file, you don’t need to handle it manually.

If you are using Linux, make sure that the following dependencies are present on your system; otherwise, it will not work properly:

  • libfreetype6-dev
  • libx11-dev
  • libxrandr-dev
  • libudev-dev
  • libgl1-mesa-dev
  • libflac-dev
  • libsndfile1-dev
  • libvorbis-dev
  • libvorbisenc2
  • libvorbisfile3
  • libopenal-dev
  • libpthread-stubs0-dev
  • libjpeg8-dev
  • libxcursor-dev

Note: Make sure you have Git installed, as it will be used by CMake to download SFML.

Follow these steps:

  1. Open a terminal and navigate to the root directory of the project.
  2. Create an empty directory: mkdir build/.
  3. Generate the build system files in it: cmake -S . -B build/.
  4. Build the project: cmake --build build/.
  5. Finally, navigate to the build/bin directory and run the game.

Demo Screenshots

gameplay-1

menu

gameplay-2