This is a project aimed at exploring the SDL 2 library and core game mechanics like event loops and timers.
Because this repository contains LFS objects, it cannot be used as a regular Github template. Thus, there are two options for getting started:
- If you want to keep this repo's history, clone it, create a new remote repo, and switch the upstream remote:
git clone https://github.com/tpstevens/NathanPong.git [optional-path]cd <path-to-cloned-repo>- Create a new empty repo (on Github or another host of your choice). Copy the URL (https://something/something.git).
git remote remove origingit remote add origin <new-repo-URL>git push --set-upstream origin master
- If you don't care to keep this repo's history:
- Download the archive
- Extract it (in a new repo or existing repo)
- Commit and push
- Run
Scripts/SetupTemplate.ps1to change the project name - Using your favorite text editor (Notepad++):
- Run a find-and-replace operation to replace all instances of the old GUID (printed from
SetupTemplate.ps1) to the new GUID (also printed fromSetupTemplate.ps1) - Run a find-and-replace operation to replace all instances of
NathanPongwithYourProjectName
- Run a find-and-replace operation to replace all instances of the old GUID (printed from
- Open the project in Visual Studio