Upgrade to Pro — share decks privately, control downloads, hide ads and more …

cocos2d-jsで雑に作るブラウザゲーム

 cocos2d-jsで雑に作るブラウザゲーム

7a1631691f372ed25308ba9ccd727b2d?s=128

iwagami

July 19, 2017
Tweet

Transcript

  1. Cocos2d-js で雑に作るブラウザゲーム iwag Jun 10 2017

  2. Self Introduction • Takuya IwaGAMI • Student of cornerstone college

    • Scala / Golang / Google Computing Platform / ReactJS
  3. Next presentation • Let’s enable ReactJS(redux) Application to use API

    backend on GCP (appengine + google datastore)
  4. Game for my nephew https://iwag.github.io/shoot-a-star/

  5. 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 (´・ω:;.:...
  6. 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 •
  7. 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 雑に
  8. Create a game 雑に • Don’t use Javascript tools (webpack,

    gulp, ES1) , only use browser-sync • Impossible to follow up-to-date js tools •
  9. 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