Self Introduction
● Takuya IwaGAMI
● Student of cornerstone college
● Scala / Golang / Google Computing Platform / ReactJS
Slide 3
Slide 3 text
Next presentation
● Let’s enable ReactJS(redux)
Application to use API backend on
GCP (appengine + google datastore)
Slide 4
Slide 4 text
Game for my nephew
https://iwag.github.io/shoot-a-star/
Slide 5
Slide 5 text
Cocos2d-x
● Crossplatform game engine
○ ios, android
○ Usually written in cpp but
there’s javascript binding
● Can create a cool game
http://www.cocos2d-x.org/wiki/MoonWarriors_-
_Cocos2d-JS_Showcase
● Compared to Unity (´・ω:;.:...
Slide 6
Slide 6 text
Pros
● Javascript!!!
● Take an advantage of fantastic Javascript ecosystem
(websocket, chrome developer tool, browser-sync)
● Easy to deploy
○ Push github if you use github pages
●
Slide 7
Slide 7 text
Cons
● Less popular than Unity
● Can’t create a cool game like Unity
● Less information than Unity
⇒ In other words, cocos2d is suited for creating game 雑に
Slide 8
Slide 8 text
Create a game 雑に
● Don’t use Javascript tools (webpack, gulp, ES1) , only use browser-sync
● Impossible to follow up-to-date js tools
●
Slide 9
Slide 9 text
How to start!
● Let’s clone!
https://github.com/iwag/cocos2d
-js-minimal-starter/
● Demo
https://iwag.github.io/cocos2d-js
-minimal-starter/
● My recommended book
○ http://amzn.asia/0Gg30Xl