Starling #3 物理演算エンジンNape Physicsを使う

f:id:syonx:20140302185709p:plain

デモ

参考

準備

  • Nape Physics Engine の入手 (nape-release.swc)
    Nape Physics / Downloads
    Current Version: 2.0.15. Released 22nd February 2014.

  • ライブラリパスの追加
    C:\my\flash\frameworks\Nape-Physics-Engine\nape-release.swc

  • 画像の用意
    Flashのウィンドウにドラッグしてライブラリに登録 > 右クリック > プロパティ > AcrionScript > ActionScript用に書き出し > クラス: Ball

Code

学んだこと

  • NapePhysics: 物理演算エンジン