From d1d799298076258eb20127f07d3e86624a2a77f9 Mon Sep 17 00:00:00 2001 From: Ronen Ness Date: Mon, 27 Jul 2015 02:07:32 +0300 Subject: [PATCH] small update to readme.md --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d85b7d5..314881a 100644 --- a/README.md +++ b/README.md @@ -41,11 +41,25 @@ SSCD should work on all modern browsers, and its tested and confirmed on Chrome, ## How to use -SSCD is very simple to use. All you have to do is to create a collision world, add shapes to it, and test collision against the world. +First get the latest version of SSCD from dist/ folder in this git, and include it to your html header like this: + +```html + +``` + +Or + +```html + +``` + +For un-minified version. + +Now all you have to do is create a collision world, add some shapes to it, and test collisions. ### Quick example -Here's a tiny example of a working collision test with a single circle: +Let's start with a minimal working example - collision with a single circle: ```javascript var world = new SSCD.World();