Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
cocos2d-jsで雑に作るブラウザゲーム
Search
iwagami
July 19, 2017
Programming
0
240
cocos2d-jsで雑に作るブラウザゲーム
iwagami
July 19, 2017
Tweet
Share
More Decks by iwagami
See All by iwagami
GCP_WORKSHOP_1_GCE
iwag
0
320
Introduction of finagle
iwag
1
130
Introduction of JAVA8
iwag
0
360
elasticsearch で作るランキング
iwag
0
2.3k
Rewrite in Finagle
iwag
4
1.4k
Chisel RISC-V introduction
iwag
1
3.1k
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
650
Kotlin 2.2が切り拓く: コンテキストパラメータで書く関数型DSLと新しい依存管理のかたち
knih
0
120
TFLintカスタムプラグインで始める Terraformコード品質管理
bells17
2
510
CSC305 Lecture 11
javiergs
PRO
0
320
Webサーバーサイド言語としてのRustについて
kouyuume
1
5k
Dive into Triton Internals
appleparan
0
380
Google Opal解体新書
mickey_kubo
3
110
組込みだけじゃない!TinyGo で始める無料クラウド開発入門
otakakot
2
380
釣り地図SNSにおける有料機能の実装
nokonoko1203
0
200
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
450
ノーコードからの脱出 -地獄のデスロード- / Escape from Base44
keisuke69
0
140
スマホから Youtube Shortsを見られないようにする
lemolatoon
27
34k
Featured
See All Featured
Faster Mobile Websites
deanohume
310
31k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
Raft: Consensus for Rubyists
vanstee
140
7.2k
The Pragmatic Product Professional
lauravandoore
36
7k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Site-Speed That Sticks
csswizardry
13
940
[RailsConf 2023] Rails as a piece of cake
palkan
57
6k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
The Power of CSS Pseudo Elements
geoffreycrofte
80
6k
Keith and Marios Guide to Fast Websites
keithpitt
412
23k
Transcript
Cocos2d-js で雑に作るブラウザゲーム iwag Jun 10 2017
Self Introduction • Takuya IwaGAMI • Student of cornerstone college
• Scala / Golang / Google Computing Platform / ReactJS
Next presentation • Let’s enable ReactJS(redux) Application to use API
backend on GCP (appengine + google datastore)
Game for my nephew https://iwag.github.io/shoot-a-star/
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 (´・ω:;.:...
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 •
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 雑に
Create a game 雑に • Don’t use Javascript tools (webpack,
gulp, ES1) , only use browser-sync • Impossible to follow up-to-date js tools •
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