Skip to content

yahyalazrek/SDL2_Template

Repository files navigation

SDL2 Template

This repository serves as a starting point for projects using the Simple DirectMedia Layer (SDL) library. It includes the SDL2, SDL2_image, SDL2_ttf, and SDL2_mixer libraries, as well as a basic project structure and a Makefile to get you up and running quickly with SDL2.

Dependencies

In order to build and run this project, you will need to have the following dependencies installed on your system:

  • A C++ compiler (such as MinGW)

Building and running the project

To build and run the project, follow these steps:

  1. Clone this repository to your local machine.
  2. Navigate to the root of the repository.
  3. Run make or mingw32-make to build the project.
  4. Run ./main to start the program.

Customizing the project

The entry point for the project is located in main.cpp. You can modify this file to add your own code and build upon the provided template.

If you want to add additional source files to the project, you can do so by adding them to the assets directory.

Additional resources

About

a starter template for sdl2 with all library code needed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages