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

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

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

iwagami

July 19, 2017
Tweet

More Decks by iwagami

Other Decks in Programming

Transcript

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

    • Scala / Golang / Google Computing Platform / ReactJS
  2. 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 (´・ω:;.:...
  3. 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 •
  4. 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 雑に
  5. Create a game 雑に • Don’t use Javascript tools (webpack,

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