Skip to content

SalaxDev/SDL3-Center-Texture-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDL3 Center Texture Example

This example demonstrates how to center textures/windows in SDL3 applications.

🚀 Features

  • RAII-based resource management
  • Object-oriented design with C++ classes
  • SDL3 with SDL3_ttf integration
  • Clean, minimal codebase
  • Documented

🛠️ Prerequisites

  • Git
  • CMake (3.10+)
  • C++ compiler (supporting C++11)
  • SDL3 development libraries (SDL3, SDL3_ttf)

🛠️ How to Build

    1. first clone the project using git (git required) :
git clone https://github.com/SalaxDev/SDL3-Center-Texture-Example.git
    1. go to the project directory, then type (cmake & compiler required) :
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
cmake --build build
    1. then go to bin directory and you should see the executable program

🔗 Download

if you don't want to build it yourself, you can find the latest version in Release :
Windows 7+ 64 Bit: Latest Release
Note: The executable is not code-signed and may be flagged by antivirus software. If this occurs, add an exception for the file or folder.

Important

Any use of this project for AI-Training is Prohibited! check LICENSE for more information