Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.
/ space-shooter Public archive

I've always wanted to dabble in SDL with C, so this what I have come up with for now.

License

Notifications You must be signed in to change notification settings

joshuacrotts/space-shooter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Shooter

CodeFactor ![GitHub contributors](https://img.shields.io/github/contributors/JoshuaCrotts/Space-Shooter GitHub commit activity GitHub repo size GitHub issues open GitHub issues closed

Space Shooter is a little space shooting game based off a tutorial from the parallelrealities website. This introduced me to SDL and in-depth C programming. This project is buggy and a mess all around, but was one of my first experiences developing a somewhat large project in C, and more so with SDL. After this, I wrote C-Standards and several other things with C.

Dependencies

If you want to run the game, just download the runtime binaries at the provided links below. Conversely, if you wish to build the project, you will need to grab the development libraries for your system. For my purposes, I used the MinGW versions.

  1. SDL TTF Library (sdl_ttf)
  2. SDL Image-Loading Library (sdl_image)
  3. SDL Audio Library (sdl_mixer)

Rebuilding Space Shooter

Windows: To rebuild the code, clone the repository to your computer. This project is compiled with MinGW and a makefile. The SDL .dll files are not included and will need to be downloaded separately to build from source without modifications to the makefile. Compile the code via mingw32-make.

Linux (Ubuntu/Debian): The process is similar to the former, with the exception of having to install SDL files to your system in Linux. Run the following commands (or their distro-equivalent) in your terminal:

  1. sudo apt-get install libsdl2-dev
  2. sudo apt-get install libsdl2-image-dev
  3. sudo apt-get install libsdl2-ttf-dev
  4. sudo apt-get install libsdl2-mixer-dev

Then, compile via make.

Reporting Bugs

See the Issues Tab.

Version History

The master branch encompasses all significant changes.

About

I've always wanted to dabble in SDL with C, so this what I have come up with for now.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published