Forked from: FumioNonaka's EaselJS 0.8.2 + ES6: Rotating a Cube around the X View Diff (56)

Fork
1
Fav
0
View
636
  • Play

Fullscreen

Smart Phone

Fork tree

  • Readme
  • JavaScript 157 lines
  • HTML 5 lines
  • CSS 0 lines

CreateJSのJavaScriptコードをECMAScript 6の構文に書き替える

マウスポインタの位置に応じて立方体が回るサンプルを、ECMAScript 6の構文に書き替えた。クラスの定めやArrayクラスの継承、静的メソッドのほか、新しいArrayクラスのメソッドにアロー関数式を用いた。


Revised code with ECMAScript 6 including class definitions, arrow functions and destructuring assignments. Also, new Array methods are used.

  • EaselJS 1.0.0 + ES6: Rotating a Cube around the X and Y axes
  • EaselJS 1.0.0 + ES6: Rotating a Cube around the X and Y axes

play

Complete!

Description What kind of game?

Control Device

jsdo.it websocket controller

Mouse

keyboard

smartphone

Fullscreen

Default Panel

Size

  • Width: px
  • Height: px

code

QR Code

Discussion

Questions on this code?

Tags

Forked

sort by