最近の更新 (Recent Changes)

2013-10-23
2013-10-20
2013-09-12

最新文件发布

AndroidBenchmark (1.1)2011-09-26 14:01
AndroidSample_GoMyWay (1.0)2012-04-04 12:22
KinectJME (0.2)2012-01-16 19:12
lib-jar (2011-09-01)2011-09-01 15:18
locale_ja (1.0)2011-09-16 00:06
mikumikustudio (2011-09-02)2011-09-02 20:05
MMSAssetManagerForAndroid (0.21)2012-09-15 22:50
nativebullet (2011-10-15)2011-10-15 08:21
Samples (0.55)2011-09-03 01:23

Wikiガイド(Guide)

サイドバー (Side Bar)

動画

http://www.nicovideo.jp/watch/sm21766227

プロジェクトを作成

~/bin/g8 chototsu/mmstempl

コード

package info.projectkyoto

import com.jme3.app.SimpleApplication
import com.jme3.scene.shape.Box
import com.jme3.scene.Geometry
import com.jme3.material.Material
import com.jme3.math.ColorRGBA

class Tutorial1 extends SimpleApplication with App {
  def simpleInitApp() {
    val box = new Box(1,1,1)
    val geom = new Geometry("geom", box )
    val material = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md")
    material.setColor("Color", ColorRGBA.Blue)
    geom.setMaterial(material)
    rootNode.attachChild(geom)
  }
}

インデックスに戻る

tutorial2