-
Notifications
You must be signed in to change notification settings - Fork 7
Getting started
On Mac: You just have XCode installed via the app store. Make sure to install the command line tools.
$ xcode-select --install
Follow the instructions in the UI popups.
You must have homebrew installed. Follow the instructions here: https://brew.sh
$ brew install sdl2
$ brew install sdl2_image
On Ubuntu Linux:
$ sudo apt install libsdl2-dev libsdl2-image-dev
On Arch Linux:
$ sudo pacman -S sdl2 sdl2_image
- FORK this repository using the fork button at GitHub.
- clone your fork - do not clone this repository!
- cd to your working directory
$ git remote add upstream git@github.com:ModusCreateOrg/creative-engine$ git fetch upstream
To keep your master branch up to date with this repo:
$ git checkout master
$ git pull upstream master
When you work on an issue/ticket:
$ git checkout master
$ git pull upstream master # up to date!
$ git checkout -b branch-name # branchname is ticket-number hyphen description
When you commit and push to your branch, you will have the opportunity to create a pull request from your fork against the official/repo.

When you create a pull request, put a link to the GitHub issue in the first post, along with a description of what the PR does.

Note that GitHub automatically creates a link in the PR:

Next, go to the issue and put a link to the PR in a comment:

Or you can just hit # and select from the dropdown:

- You will have to do the above steps for your game repository, as well.
- Don't forget to change back to master branch after making your PR and doing the pull from upstream master
- ALWAYS branch from master in your repo, unless you know what you're doing !!!