Skip to content

Instantly share code, notes, and snippets.

@urraka
Created March 17, 2015 20:55
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 urraka/3a69c6d2c25e67f9950a to your computer and use it in GitHub Desktop.
Save urraka/3a69c6d2c25e67f9950a to your computer and use it in GitHub Desktop.
skeleton
bone l50
@[red] :circle d30 t0 f#F00
@[blue] :circle d30 t0 f#00F
@line :path
L 0,0:handle
bone.handle
anim "test" 20fps
bone 40:sio
x 0 -> 200 -> 0
y :10:> 0 :so-> 20 :li--> 20 :si-> 0 :so-> -20 :li--> -20 :si-> 0
s false -> true -> false
i :10:> 0.1 -> 1 --> 1 -> 0.1 -> 1 --> 1 -> 0.1
handle :5:
x { -15 :si-> 0 :so-> 15 :si-> 0 :so-> -15 }[4]
y { 0 :so-> 15 :si-> 0 :so-> -15 :si-> 0 }[4]
@bone :40:
@ red -> blue -> red
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment