Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 2.41 KB

File metadata and controls

55 lines (40 loc) · 2.41 KB

JSceneKitExample

Online examples of JSceneKit

Please use the modern browsers (Chrome, Firefox, Opera) which support WebGL2.

ブラウザで動くJSceneKitのサンプル集。

WebGL2対応のブラウザ(Chrome、Firefox、Opera)で見てください。

Example 1

https://magicien.github.io/JSceneKitExample/public/ex1/

Port of the Xcode template project of Game application.

  • Drag: Rotate the ship
  • Click: Hit test

Xcode Gameアプリのプロジェクトテンプレートを移植したもの。

  • ドラッグ:宇宙船の回転
  • クリック:当たり判定

ScreenShot1

Example 2

https://magicien.github.io/JSceneKitExample/public/ex2/

Port of the sample code from Apple Developer: Fox: Building a SceneKit Game with the Xcode Scene Editor

  • Arrow Keys: Move the character
  • You can also use D-pad to move the character.

Apple Developerのサンプルコードを移植したもの:Fox: Building a SceneKit Game with the Xcode Scene Editor

  • 矢印キー:キャラクタの移動
  • ゲームコントローラでも移動できます。

ScreenShot2

Example 3 (under development)

https://magicien.github.io/JSceneKitExample/public/ex3/

Port of the sample code from Apple Developer: Badger: Advanced Rendering in SceneKit

  • Arrow Keys:
    • Left/Right: Lean left/right
    • Up: Jump
    • Down: Squat
  • Push any key to start the game.

Apple Developerのサンプルコードを移植したもの(開発中):Badger: Advanced Rendering in SceneKit

  • 矢印キー:
    • 左右:左右に傾く
    • 上:ジャンプ
    • 下:しゃがむ
  • 何かキーを押してゲームスタート

ScreenShot3