Skip to content

Instantly share code, notes, and snippets.

@sansumbrella
Last active April 3, 2021 22:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sansumbrella/31874fcb1ad2567da023 to your computer and use it in GitHub Desktop.
Save sansumbrella/31874fcb1ad2567da023 to your computer and use it in GitHub Desktop.
Brief instructions for project setup using submodules.

Instructions for project setup using submodules.

Initialization

# Add Cinder and Soso submodules, specifying the branches we want
git submodule add -b release --name Cinder git@github.com:sosolimited/Cinder.git lib/Cinder
git submodule add -b cinder --name Soso git@github.com:sosolimited/ofxSoso.git lib/ofxSoso

# Make sure we get all submodules' submodules
git submodule update --init --recursive

# Build Cinder binaries
cd lib/Cinder/xcode
./fullbuild.sh

Creating a project

  • Navigate to lib/Cinder/tools/Tinderbox-Mac and open up TinderBox.
  • Point TinderBox to your current Cinder installation.
  • If you aren't prompted to enter the path to Cinder, you can edit the list of Cinder installations by clicking on "Settings..."
  • Follow the prompts to create a new project in your repository.

Working with assets

Cinder looks for assets in a default assets/ directory. These are useful when working quickly, and are what you should use most of the time. TinderBox will create the assets/ directory for you.

If you want to load a file that isn't in your assets/ directory, just provide the full path to that file (if you want to use relative paths, it's easiest to just put things in assets/).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment