salotz / scopes-chipmunk2d

Scopes language wrapper of Chipmunk2D

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scopes-chipmunk2d

Installation

The module is under src/chipmunk2d. You can copy this subtree into your project and then add it to the package.path in your Scopes _project.sc file.

With Spack

This module is available as the scopes-chipmunk2d package in the snailpacks repository. This will pull in the necessary dependencies including Scopes.

  spack install scopes-chipmunk2d

See the snailpacks documentation for more best practices of installing.

Development Environment

We use Spack to install dependencies. First install Spack.

Then you'll need our custom repo of build recipes:

  mkdir -p `/.spack/repos
  git clone git@github.com:salotz/snailpacks.git `/.spack/repos/snailpacks
  spack repo add `/resources/spack-repos/snailpacks

Then you need to create an environment in this folder that will contain the headers and libraries etc.

  spack env create -d .

Activate the environment (i.e. set the environment variables appropriately) and install the packages:

  spacktivate .
  spack install

To exit the environment (i.e. unset the env variables):

  despacktivate

About

Scopes language wrapper of Chipmunk2D


Languages

Language:Scala 52.9%Language:SuperCollider 36.5%Language:Makefile 10.5%