PLACEHOLDER is a 2D shooter game developed in C, showcasing traditional arcade gameplay with modern graphical elements. This game is designed to be accessible on multiple platforms, offering a robust, entertaining experience for gamers.
Explore the gameplay and latest developments on X.
To build and run PLACEHOLDER, ensure you have the following installed:
makegccgit
- Debian:
sudo apt-get install libsdl2-2.0-0 libsdl2-ttf-2.0-0 libsdl2-image-2.0-0 libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev
- Fedora:
sudo dnf install SDL2 SDL2-devel SDL2_image SDL2_image-devel SDL2_ttf SDL2_ttf-devel
- Other Distros: Check the repositories for the necessary libraries and headers, or compile from source as described on the SDL2 Wiki.
- MinGW:
- Download the latest releases of SDL2, SDL2_image, and SDL2_ttf from the SDL GitHub repositories:
- SDL2 download
SDL2-<version>-win32-x64.zip - SDL2_image download appropriate
SDL2_image-<version>.zip - SDL2_ttf download appropriate
SDL2_ttf-<version>.zip
- SDL2 download
- Extract the downloaded files to a temporary directory.
- Copy only the
.dllfiles from the extracted directories to the project root directory.
- Download the latest releases of SDL2, SDL2_image, and SDL2_ttf from the SDL GitHub repositories:
To compile the game, navigate to the project root and run:
makeThis generates an executable game on Linux or game.exe on Windows.
- A / LeftArrow: Move left
- D / RightArrow: Move right
- W / Space / UpArrow: Jump or use special ability
- K: Toggle debug mode (shows a red overlay on entities)
- F: Fire weapon
- Sprites: All sprites used in this game are sourced from Craftpix.net
- Font: Game typography provided by Google Fonts
For detailed developer documentation, refer to the SDL2 Documentation.
Keep an eye on this section for the latest updates and progress notes. We aim to keep the community informed and engaged with continuous improvements and new features. Explore the gameplay and latest developments on X.
