Flash Player 10のプレリリースが発表され、 ますますActionScript3界隈が盛り上がる今日この頃、 皆様いかがお過ごしでしょうか? この連載では、 Box2Dという物理エンジンを使ったActionScript3プログラミングについて解説します。物理エンジンといっても、 難解な ...
This tutorial demonstrates an HTML5 game setup by using Box2D physics engine and CreateJS. The following are the steps to complete this tutorial project. In case you ...
プログラムの構成を極めて大雑把に言うと、Box2Dで物理演算を行い、その結果をenchant.jsで描画するという内容になります。 Box2Dの大まかな流れと登場する要素は 図6 です。 「仮想世界」とは、物理シミュレーションの舞台となる箱庭のようなものです。
In this step, we create the logic structure for our game. In the HTML, we create a game canvas for the EaselJS library to draw on it. The third module would be the physics logic. In this step, we just ...