Babylon.js Editor has been updated as wonderful WebGL contents editor like Unity.
The repository is an example of Babylon.js Editor project.
Environment : Babylon.js Editor v4.0 beta7 or later
- Get Babylon.js Editor source
$ git clone https://github.com/BabylonJS/Editor.git
- Switch release branch and build
$ git checkout -b release/4.0.0 origin/release/4.0.0
$ npm install
$ npm run build
- Run Babylon.js Editor.exe ( or Babylon.js Editor.app if you use Mac)
electron-packages / windows /Babylon.js Editor.exe
electron-packages / mac /Babylon.js Editor.app
-
Put the repo on any floder
-
Run Babylon.js Editor and select "workspace.editorworkspace" file
- Press Play button
Another preview window is showed. You can also check your own browser by accessing "http://:1338"
- A simple ping pong game
- Key
A: left move
D: right move
space : Start play / Shoot sphere
The repo is an experimental trial of Babylon.js Editor. Therefore each of code are not refactored.
Currently all support posts below are only Japanese. English version will be posted soon.
UnityのようにBabylon.jsコンテンツが作れる「Babylon.js Editor」が大幅アップデートしていたので使い方を調べてみました
Unityライクの操作になったBabylon.js Editorで簡単なゲームを作ります Vol.1(ステージ作成、操作)
Unityライクの操作になったBabylon.js Editorで簡単なゲームを作ります Vol.2(物理エンジン)
Unityライクの操作になったBabylon.js Editorで簡単なゲームを作ります Vol.3(衝突判定)
Unityライクの操作になったBabylon.js Editorで簡単なゲームを作ります Vol.4(GUIの追加)
Unityライクの操作になったBabylon.js Editorで簡単なゲームを作ります Vol.5(得点加算、ライフ変更、テキスト表示)
Unityライクの操作になったBabylon.js Editorで簡単なゲームを作ります Vol.6(サーバに格納して実行)