SlideShare a Scribd company logo
1 of 36
Download to read offline
JavaScript                                            	
  Vol.2	
 (2011/8/23)	




                •                                                                      	
  
                •                                                                                     	
  
                •                                         SG SP                                	
  
                •                                               	



         Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                 1/35
TwiQer:	
  @shibukawa	
                                                                       •                   	
  
                                                                                  –                                             →DeNA	
  
                                                                                  –                                                                                                                 	
  
                                                                       •                                         	
  
                                                                                  –  SphinxUsers.jp                                   	
  
                                                                                           •                                                                                                     	
  
                                                                                  –      XP                                                                                	
  
                                                                                  –  Python                  (          )	
  
                                                                       •                                  	
  
                                                                                  –  IT                                                                                           	
  
                                                                                                                      (                                                                  )	
  
                                                                                  –                              Python                                                                          	
  
                                                                                       (                                                                           )	
  
                                                                                  –                                                                         	
  
                                                                                       (                                                                           )	
  
                                                                                  –                                                                  	
  
                                                                                       (                                                     )	
  
                                                                                                  :	
     web                    	
Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                                                                                                        2/35
•  Android                                          iOS               ngCore               	
     Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
   3/35
•  JavaScript                                                                                                                     	
  
•                                               	
  
  –                                                                                    	
  
       •                                               Android iOS                                   	
  
       •                                                 Flash                                              HTML	
  5          	
  
  –                                                                                           	
  
       •                                                                                             /app,apk           	
  
  –                                  API                           	
  
       •  XNA                                                                 API	
  
  –                                                    API                      	
  
       •                                               iOS/Android                                                                       	
  
       Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                                      4/35
•  JavaScript                                                                                                                     	
  
•                                               	
  
  –                                                                                    	
  
       •                                               Android iOS                                   	
  
       •                                                 Flash                                              HTML	
  5          	
  
  –                                                                                           	
  
       •                                                                                             /app,apk           	
  
  –                                  API                           	
  
       •  XNA                                                                 API	
  
  –                                                    API                      	
  
       •                                               iOS/Android                                                                       	
  
       Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                                      5/35
•  JavaScript                                                                                                                              	
  
•                                                	
  
   –                                                                                    	
  
        •                                               Android iOS                                           	
  
        •                                                 Flash                                                      HTML	
  5          	
  
   –                                                                                           	
  
        •                                                                                                 /app,apk               	
  
   –                                  API                           	
  
        •  XNA                                                                 API	
  
 •  JavaScript                                                                                    	
  
 •  –                                                   API                      	
                                                               	
  
 •      •                                               iOS/Android                                      	
                                          	
  
        Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                                                 6/35
Build	
  
                                                                    Server	
  
                                                                   (node.js)	



                                                                     Baked	
  
                                                                     game	



                                                                                      By	
  nyuhuhuu	
  under	
  CC-­‐BY	
                                                                                      By	
  the_toe_stubber	
  under	
  CC-­‐BY	
                                                                                      By	
  m	
  geers	
  under	
  CC-­‐BY-­‐SA	
                                                                                      By	
  superstrikertwo	
  under	
  CC-­‐BY-­‐SA	
                                                                                      By	
  osde8info	
  under	
  CC-­‐BY-­‐SA	

Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                            7/35
•                          	
  
                                                                           	
  	
  	
                    	
  
                                                                    •       Or	
          	




                                                                     Build	
  
                                                                    Server	
  
                                                                   (node.js)	



                                                                     Baked	
  
                                                                     game	



                                                                                                      By	
  nyuhuhuu	
  under	
  CC-­‐BY	
                                                                                                      By	
  the_toe_stubber	
  under	
  CC-­‐BY	
                                                                                                      By	
  m	
  geers	
  under	
  CC-­‐BY-­‐SA	
                                                                                                      By	
  superstrikertwo	
  under	
  CC-­‐BY-­‐SA	
                                                                                                      By	
  osde8info	
  under	
  CC-­‐BY-­‐SA	

Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                                            8/35
•                                               1   js                                 	
  
                                  •                             /2                                        	
  
                                  •                               (manifest)               	
  
                                  •                           minify    (                         )	
  
                                  •      150kb                       zip     (                                   )	
  
                                                                                                             etc	


                                                                     Build	
  
                                                                    Server	
  
                                                                   (node.js)	



                                                                     Baked	
  
                                                                     game	



                                                                                                                                By	
  nyuhuhuu	
  under	
  CC-­‐BY	
                                                                                                                                By	
  the_toe_stubber	
  under	
  CC-­‐BY	
                                                                                                                                By	
  m	
  geers	
  under	
  CC-­‐BY-­‐SA	
                                                                                                                                By	
  superstrikertwo	
  under	
  CC-­‐BY-­‐SA	
                                                                                                                                By	
  osde8info	
  under	
  CC-­‐BY-­‐SA	

Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                                                                      9/35
•                 	
  
                                                                    •                 	




                                                                     Build	
  
                                                                    Server	
  
                                                                   (node.js)	



                                                                     Baked	
  
                                                                     game	



                                                                                             By	
  nyuhuhuu	
  under	
  CC-­‐BY	
                                                                                             By	
  the_toe_stubber	
  under	
  CC-­‐BY	
                                                                                             By	
  m	
  geers	
  under	
  CC-­‐BY-­‐SA	
                                                                                             By	
  superstrikertwo	
  under	
  CC-­‐BY-­‐SA	
                                                                                             By	
  osde8info	
  under	
  CC-­‐BY-­‐SA	

Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                                 10/35
mobage	
  
                                                                    Dev	
  site	
  



                                                                     Baked	
  
                                                                     game	



                                                                                      By	
  nyuhuhuu	
  under	
  CC-­‐BY	
                                                                                      By	
  the_toe_stubber	
  under	
  CC-­‐BY	
                                                                                      By	
  m	
  geers	
  under	
  CC-­‐BY-­‐SA	
                                                                                      By	
  superstrikertwo	
  under	
  CC-­‐BY-­‐SA	
                                                                                      By	
  osde8info	
  under	
  CC-­‐BY-­‐SA	

Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                          11/35
•      Bake                                 	
  
                                               •                                      	




                                                                    mobage	
  
                                                                    Dev	
  site	
  



                                                                     Baked	
  
                                                                     game	



                                                                                                  By	
  nyuhuhuu	
  under	
  CC-­‐BY	
                                                                                                  By	
  the_toe_stubber	
  under	
  CC-­‐BY	
                                                                                                  By	
  m	
  geers	
  under	
  CC-­‐BY-­‐SA	
                                                                                                  By	
  superstrikertwo	
  under	
  CC-­‐BY-­‐SA	
                                                                                                  By	
  osde8info	
  under	
  CC-­‐BY-­‐SA	

Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                                      12/35
•    mobage                                 	
  
                                                                                      •                                    	
  
                                                                                      •             	
                                                                    mobage	
  
                                                                    Dev	
  site	
  



                                                                     Baked	
  
                                                                     game	



                                                                                                         By	
  nyuhuhuu	
  under	
  CC-­‐BY	
                                                                                                         By	
  the_toe_stubber	
  under	
  CC-­‐BY	
                                                                                                         By	
  m	
  geers	
  under	
  CC-­‐BY-­‐SA	
                                                                                                         By	
  superstrikertwo	
  under	
  CC-­‐BY-­‐SA	
                                                                                                         By	
  osde8info	
  under	
  CC-­‐BY-­‐SA	

Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                                             13/35
mobage	
  
                                                                    Dev	
  site	
  



                                                                     Baked	
  
                                                                     game	



                                                                                      By	
  nyuhuhuu	
  under	
  CC-­‐BY	
                                                                                      By	
  the_toe_stubber	
  under	
  CC-­‐BY	
                                                                                      By	
  m	
  geers	
  under	
  CC-­‐BY-­‐SA	
                                                                                      By	
  superstrikertwo	
  under	
  CC-­‐BY-­‐SA	
                                                                                      By	
  osde8info	
  under	
  CC-­‐BY-­‐SA	

Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                          14/35
•      Bake                                   	
  
                                               •      iAP                                           	
  
                                               •      APP                        	
  
                                                      →                     appstore    	



                                                                    mobage	
  
                                                                    Dev	
  site	
  



                                                                     Baked	
  
                                                                     game	



                                                                                                           By	
  nyuhuhuu	
  under	
  CC-­‐BY	
                                                                                                           By	
  the_toe_stubber	
  under	
  CC-­‐BY	
                                                                                                           By	
  m	
  geers	
  under	
  CC-­‐BY-­‐SA	
                                                                                                           By	
  superstrikertwo	
  under	
  CC-­‐BY-­‐SA	
                                                                                                           By	
  osde8info	
  under	
  CC-­‐BY-­‐SA	

Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                                               15/35
•      Appstore                    	
  
                                                                               •                 	




                                                                    mobage	
  
                                                                    Dev	
  site	
  



                                                                     Baked	
  
                                                                     game	



                                                                                                      By	
  nyuhuhuu	
  under	
  CC-­‐BY	
                                                                                                      By	
  the_toe_stubber	
  under	
  CC-­‐BY	
                                                                                                      By	
  m	
  geers	
  under	
  CC-­‐BY-­‐SA	
                                                                                                      By	
  superstrikertwo	
  under	
  CC-­‐BY-­‐SA	
                                                                                                      By	
  osde8info	
  under	
  CC-­‐BY-­‐SA	

Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                                          16/35
•                                                        	
  
     –                                                                                  API	
  
     –  2D                                                                                                      →       3D 	
  
     –                                                                                            	
  
•                                          	
  
     –  BGM/SE	
  
•  UI	
  
     –                                                                                                              WebView	
  etc	
  
•                                                 	
  
     –  XHR                                                                                              	
  
            Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                          17/35
•                                       	
  
     –  Box2D                                         	
  
•                                                                    	
  
     –                                                       Key/Value                                 	
  
•                                                     	
  
     –                                                                                          	
  
     –  Observer                                                       	
  
     –  MD5/SHA                                                               	
  
•                                	
  
     –                                                                                                  	
  
          Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                  18/35
•          	
  
•                                          /                                       	
  
•                              	
  
•                                              	
  
•                                              	




     Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
   19/35
var GL2 = require(“./NGCore/Client/GL2”).GL2;
var Core = require(“./NGCore/Client/Core”).Core;

var MainLoop = Core.MessageListener.subclass({
    initialize: function() {
        this.image = mychar = new GL2.Sprite();
        this.image.setImage(“Content/myimage.png”);
        this.setPosition(100, 100);
        this.x = 100;
    },
    onUpdate: function() {
        this.x += 3;
        this.setPosition(this.x, 100);
    }
});

function main() {
     var loop = new MainLoop();
     Core.UpdateEmitter(loop, loop.onUpdate);
}



        Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
   20/35
var GL2 = require(“./NGCore/Client/GL2”).GL2;                                                 •    CommonJS       	
  
var Core = require(“./NGCore/Client/Core”).Core;                                                         	
  
                                                                                              •                          	
  
                                                                                                       	
  
var MainLoop = Core.MessageListener.subclass({
    initialize: function() {
        this.image = mychar = new GL2.Sprite();
        this.image.setImage(“Content/myimage.png”);
        this.setPosition(100, 100);
        this.x = 100;
    },
    onUpdate: function() {
        this.x += 3;
        this.setPosition(this.x, 100);
    }
});

function main() {
     var loop = new MainLoop();
     Core.UpdateEmitter(loop, loop.onUpdate);
}



        Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                     21/35
var GL2 = require(“./NGCore/Client/GL2”).GL2;
var Core = require(“./NGCore/Client/Core”).Core;

var MainLoop = Core.MessageListener.subclass({                                                •                     	
  
    initialize: function() {                                                                               	
  
                                                                                                   	
  
        this.image = mychar = new GL2.Sprite();
                                                                                              •              	
  
        this.image.setImage(“Content/myimage.png”);
        this.setPosition(100, 100);
        this.x = 100;
    },
    onUpdate: function() {
        this.x += 3;
        this.setPosition(this.x, 100);
    }
});

function main() {
     var loop = new MainLoop();
     Core.UpdateEmitter(loop, loop.onUpdate);
}



        Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
               22/35
var GL2 = require(“./NGCore/Client/GL2”).GL2;
var Core = require(“./NGCore/Client/Core”).Core;

var MainLoop = Core.MessageListener.subclass({
    initialize: function() {
        this.image = mychar = new GL2.Sprite();
        this.image.setImage(“Content/myimage.png”);
        this.setPosition(100, 100);
        this.x = 100;
    },
    onUpdate: function() {
        this.x += 3;
        this.setPosition(this.x, 100);
    }
});

function main() {                                                                             •    main           	
  
     var loop = new MainLoop();                                                               •           UpdateEmiQer	
  
     Core.UpdateEmitter(loop, loop.onUpdate);                                                                                	
  
}



        Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                            23/35
var GL2 = require(“./NGCore/Client/GL2”).GL2;
var Core = require(“./NGCore/Client/Core”).Core;

var MainLoop = Core.MessageListener.subclass({                                                 •    inialize/destroy                        	
  
    initialize: function() {                                                                                                   	
  
        this.image = mychar = new GL2.Sprite();
        this.image.setImage(“Content/myimage.png”);
        this.setPosition(100, 100);
        this.x = 100;
    },
    onUpdate: function() {                                                                    •                                       	
  
                                                                                                    update              	
  
        this.x += 3;
        this.setPosition(this.x, 100);
    }
});

function main() {
     var loop = new MainLoop();
     Core.UpdateEmitter(loop, loop.onUpdate);
}



        Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                    24/35
 
                                                                                       	



                                               	
                                                  	
  
           (                                          )	
                             (V8/JavaScriptCore)	




Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                           25/35
new	
  GL2.Sprite();	
  
                                                                                                   i.setImage();	
  
                                                                                                   i.setPosion();	
                                                                                            	
  
                                                                                       	



                                               	
                                                  	
  
           (                                          )	
                             (V8/JavaScriptCore)	




Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                           26/35
new	
  GL2.Sprite();	
  
                                                                                                   i.setImage();	
  
                                                                                                   i.setPosion();	
                                                                                            	
  
                                                                                       	



                                               	
                                                  	
  
           (                                          )	
                             (V8/JavaScriptCore)	


                                                        “71818741285187013897431”	
Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                           27/35
new	
  GL2.Sprite();	
  
                                                                                                   i.setImage();	
  
                                                                                                   i.setPosion();	
 	
                                                                                         	
  
	
                                                                                     	



                                               	
                                                  	
  
           (                                          )	
                             (V8/JavaScriptCore)	


                                                        “71818741285187013897431”	
Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                           28/35
“71818741285187013897431”	

                                                                                      EmiQer                                        	
  
                                                                                                                        (Box2D)	




                                                                                                    onUpdate	
  {	
  
                                                                                                    	
  	
  	
  	
    	
  
                                                                                                    }	
                                                                                             	
  
                                                                                        	



                                               	
                                                   	
  
           (                                          )	
                              (V8/JavaScriptCore)	




Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                                        29/35
• 
          • 
          • 

Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
   30/35
•                                                      SDK                                      	
  
•                                                                                          	




     Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
               31/35
Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
   32/35
•                                                                                                            	
  
     –                                                                            	
  
     –  3D                            HTML5                                                           	
  
•                                                                	
  
     –  ngServer	
  
         •  JavaScript                                                                         	
  
     –  ngBuilder	
  
         •                                   	
  
     –  ngGo	
  
         •                                    	
  


         Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                        33/35
•                   (Flash/Android                                                                 emu/iOS	
  Sim)	
  
•  JavaScript                                                                               	
  
•                                  	
  
•         GUI	
  Layout                                                                                         	




      Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                         34/35
•  ngCore                                                                                                                   	
  
     –                  ngCore                                                                         1/3                                	
  
•                                             	
  
     –                                                                                          	
  
     –                                                                                                  2D           	
  
     –                                                                                                                             	
  
     –  Texture	
  Packer                                                                                9          	
  
     –  Flash                                                                                                	
  
     –                	
  
     –                     	

          Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                                        35/35
•  ngCore                                            	
  
     –                                                                                                 	
  
     –                                                                                          	
  
•                                                           	
  
     –                                     +JS                                       	
  
     – 
                                                                                                              	
  
•                                                                                                                        	



          Copyright	
  (c)	
  1999-­‐2011	
  DeNA	
  CO.,Ltd.	
  All	
  rights	
  reserved.	
                        36/35

More Related Content

More from Yoshiki Shibukawa

Chunked encoding を使った高速化の考察
Chunked encoding を使った高速化の考察Chunked encoding を使った高速化の考察
Chunked encoding を使った高速化の考察Yoshiki Shibukawa
 
Go & multi platform GUI Trials and Errors
Go & multi platform GUI Trials and ErrorsGo & multi platform GUI Trials and Errors
Go & multi platform GUI Trials and ErrorsYoshiki Shibukawa
 
FINAL FANTASY Record Keeperを支えたGolang
FINAL FANTASY Record Keeperを支えたGolangFINAL FANTASY Record Keeperを支えたGolang
FINAL FANTASY Record Keeperを支えたGolangYoshiki Shibukawa
 
東京Node学園 今できる通信高速化にトライしてみた
東京Node学園 今できる通信高速化にトライしてみた東京Node学園 今できる通信高速化にトライしてみた
東京Node学園 今できる通信高速化にトライしてみたYoshiki Shibukawa
 
Oktavia全文検索エンジン - SphinxCon JP 2014
Oktavia全文検索エンジン - SphinxCon JP 2014Oktavia全文検索エンジン - SphinxCon JP 2014
Oktavia全文検索エンジン - SphinxCon JP 2014Yoshiki Shibukawa
 
Oktavia Search Engine - pyconjp2014
Oktavia Search Engine - pyconjp2014Oktavia Search Engine - pyconjp2014
Oktavia Search Engine - pyconjp2014Yoshiki Shibukawa
 
Expert JavaScript Programming
Expert JavaScript ProgrammingExpert JavaScript Programming
Expert JavaScript ProgrammingYoshiki Shibukawa
 
ドキュメントを作りたくなってしまう魔法のツール「Sphinx」
ドキュメントを作りたくなってしまう魔法のツール「Sphinx」ドキュメントを作りたくなってしまう魔法のツール「Sphinx」
ドキュメントを作りたくなってしまう魔法のツール「Sphinx」Yoshiki Shibukawa
 
つまみぐい勉強法。その後。
つまみぐい勉強法。その後。つまみぐい勉強法。その後。
つまみぐい勉強法。その後。Yoshiki Shibukawa
 
Sphinx Tutorial at BPStudy#30
Sphinx Tutorial at BPStudy#30Sphinx Tutorial at BPStudy#30
Sphinx Tutorial at BPStudy#30Yoshiki Shibukawa
 
Who is the person whom the IT engineers should learn next to Alexander?
Who is the person whom the IT engineers should learn next to Alexander?Who is the person whom the IT engineers should learn next to Alexander?
Who is the person whom the IT engineers should learn next to Alexander?Yoshiki Shibukawa
 

More from Yoshiki Shibukawa (20)

Golang tokyo #7 qtpm
Golang tokyo #7 qtpmGolang tokyo #7 qtpm
Golang tokyo #7 qtpm
 
Chunked encoding を使った高速化の考察
Chunked encoding を使った高速化の考察Chunked encoding を使った高速化の考察
Chunked encoding を使った高速化の考察
 
Mithril
MithrilMithril
Mithril
 
Go & multi platform GUI Trials and Errors
Go & multi platform GUI Trials and ErrorsGo & multi platform GUI Trials and Errors
Go & multi platform GUI Trials and Errors
 
Excelの話
Excelの話Excelの話
Excelの話
 
FINAL FANTASY Record Keeperを支えたGolang
FINAL FANTASY Record Keeperを支えたGolangFINAL FANTASY Record Keeperを支えたGolang
FINAL FANTASY Record Keeperを支えたGolang
 
アンラーニング
アンラーニングアンラーニング
アンラーニング
 
東京Node学園 今できる通信高速化にトライしてみた
東京Node学園 今できる通信高速化にトライしてみた東京Node学園 今できる通信高速化にトライしてみた
東京Node学園 今できる通信高速化にトライしてみた
 
Oktavia全文検索エンジン - SphinxCon JP 2014
Oktavia全文検索エンジン - SphinxCon JP 2014Oktavia全文検索エンジン - SphinxCon JP 2014
Oktavia全文検索エンジン - SphinxCon JP 2014
 
Oktavia Search Engine - pyconjp2014
Oktavia Search Engine - pyconjp2014Oktavia Search Engine - pyconjp2014
Oktavia Search Engine - pyconjp2014
 
大規模JavaScript開発
大規模JavaScript開発大規模JavaScript開発
大規模JavaScript開発
 
Xpjug基調lt2011
Xpjug基調lt2011Xpjug基調lt2011
Xpjug基調lt2011
 
Expert JavaScript Programming
Expert JavaScript ProgrammingExpert JavaScript Programming
Expert JavaScript Programming
 
Pomodoro technique
Pomodoro techniquePomodoro technique
Pomodoro technique
 
ドキュメントを作りたくなってしまう魔法のツール「Sphinx」
ドキュメントを作りたくなってしまう魔法のツール「Sphinx」ドキュメントを作りたくなってしまう魔法のツール「Sphinx」
ドキュメントを作りたくなってしまう魔法のツール「Sphinx」
 
Bitbucket&mercurial
Bitbucket&mercurialBitbucket&mercurial
Bitbucket&mercurial
 
つまみぐい勉強法。その後。
つまみぐい勉強法。その後。つまみぐい勉強法。その後。
つまみぐい勉強法。その後。
 
Erlang and I and Sphinx.
Erlang and I and Sphinx.Erlang and I and Sphinx.
Erlang and I and Sphinx.
 
Sphinx Tutorial at BPStudy#30
Sphinx Tutorial at BPStudy#30Sphinx Tutorial at BPStudy#30
Sphinx Tutorial at BPStudy#30
 
Who is the person whom the IT engineers should learn next to Alexander?
Who is the person whom the IT engineers should learn next to Alexander?Who is the person whom the IT engineers should learn next to Alexander?
Who is the person whom the IT engineers should learn next to Alexander?
 

Recently uploaded

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 

Recently uploaded (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

JavaScriptゲーム制作勉強会

  • 1. JavaScript  Vol.2 (2011/8/23) •    •    •  SG SP   •  Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 1/35
  • 2. TwiQer:  @shibukawa •    –  →DeNA   –    •    –  SphinxUsers.jp   •    –  XP   –  Python ( )   •    –  IT   ( )   –  Python   ( )   –    ( )   –    ( )   :   web Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 2/35
  • 3. •  Android iOS ngCore Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 3/35
  • 4. •  JavaScript   •    –    •  Android iOS   •  Flash HTML  5   –    •  /app,apk   –  API   •  XNA API   –  API   •  iOS/Android   Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 4/35
  • 5. •  JavaScript   •    –    •  Android iOS   •  Flash HTML  5   –    •  /app,apk   –  API   •  XNA API   –  API   •  iOS/Android   Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 5/35
  • 6. •  JavaScript   •    –    •  Android iOS   •  Flash HTML  5   –    •  /app,apk   –  API   •  XNA API   •  JavaScript   •  –  API     •  •  iOS/Android   Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 6/35
  • 7. Build   Server   (node.js) Baked   game By  nyuhuhuu  under  CC-­‐BY By  the_toe_stubber  under  CC-­‐BY By  m  geers  under  CC-­‐BY-­‐SA By  superstrikertwo  under  CC-­‐BY-­‐SA By  osde8info  under  CC-­‐BY-­‐SA Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 7/35
  • 8. •            •  Or   Build   Server   (node.js) Baked   game By  nyuhuhuu  under  CC-­‐BY By  the_toe_stubber  under  CC-­‐BY By  m  geers  under  CC-­‐BY-­‐SA By  superstrikertwo  under  CC-­‐BY-­‐SA By  osde8info  under  CC-­‐BY-­‐SA Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 8/35
  • 9. •  1 js   •  /2   •  (manifest)   •  minify ( )   •  150kb zip ( )   etc Build   Server   (node.js) Baked   game By  nyuhuhuu  under  CC-­‐BY By  the_toe_stubber  under  CC-­‐BY By  m  geers  under  CC-­‐BY-­‐SA By  superstrikertwo  under  CC-­‐BY-­‐SA By  osde8info  under  CC-­‐BY-­‐SA Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 9/35
  • 10. •    •  Build   Server   (node.js) Baked   game By  nyuhuhuu  under  CC-­‐BY By  the_toe_stubber  under  CC-­‐BY By  m  geers  under  CC-­‐BY-­‐SA By  superstrikertwo  under  CC-­‐BY-­‐SA By  osde8info  under  CC-­‐BY-­‐SA Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 10/35
  • 11. mobage   Dev  site   Baked   game By  nyuhuhuu  under  CC-­‐BY By  the_toe_stubber  under  CC-­‐BY By  m  geers  under  CC-­‐BY-­‐SA By  superstrikertwo  under  CC-­‐BY-­‐SA By  osde8info  under  CC-­‐BY-­‐SA Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 11/35
  • 12. •  Bake   •  mobage   Dev  site   Baked   game By  nyuhuhuu  under  CC-­‐BY By  the_toe_stubber  under  CC-­‐BY By  m  geers  under  CC-­‐BY-­‐SA By  superstrikertwo  under  CC-­‐BY-­‐SA By  osde8info  under  CC-­‐BY-­‐SA Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 12/35
  • 13. •  mobage   •    •  mobage   Dev  site   Baked   game By  nyuhuhuu  under  CC-­‐BY By  the_toe_stubber  under  CC-­‐BY By  m  geers  under  CC-­‐BY-­‐SA By  superstrikertwo  under  CC-­‐BY-­‐SA By  osde8info  under  CC-­‐BY-­‐SA Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 13/35
  • 14. mobage   Dev  site   Baked   game By  nyuhuhuu  under  CC-­‐BY By  the_toe_stubber  under  CC-­‐BY By  m  geers  under  CC-­‐BY-­‐SA By  superstrikertwo  under  CC-­‐BY-­‐SA By  osde8info  under  CC-­‐BY-­‐SA Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 14/35
  • 15. •  Bake   •  iAP   •  APP   → appstore mobage   Dev  site   Baked   game By  nyuhuhuu  under  CC-­‐BY By  the_toe_stubber  under  CC-­‐BY By  m  geers  under  CC-­‐BY-­‐SA By  superstrikertwo  under  CC-­‐BY-­‐SA By  osde8info  under  CC-­‐BY-­‐SA Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 15/35
  • 16. •  Appstore   •  mobage   Dev  site   Baked   game By  nyuhuhuu  under  CC-­‐BY By  the_toe_stubber  under  CC-­‐BY By  m  geers  under  CC-­‐BY-­‐SA By  superstrikertwo  under  CC-­‐BY-­‐SA By  osde8info  under  CC-­‐BY-­‐SA Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 16/35
  • 17. •    –  API   –  2D → 3D   –    •    –  BGM/SE   •  UI   –  WebView  etc   •    –  XHR   Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 17/35
  • 18. •    –  Box2D   •    –  Key/Value   •    –    –  Observer   –  MD5/SHA   •    –    Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 18/35
  • 19. •    •  /   •    •    •  Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 19/35
  • 20. var GL2 = require(“./NGCore/Client/GL2”).GL2; var Core = require(“./NGCore/Client/Core”).Core; var MainLoop = Core.MessageListener.subclass({ initialize: function() { this.image = mychar = new GL2.Sprite(); this.image.setImage(“Content/myimage.png”); this.setPosition(100, 100); this.x = 100; }, onUpdate: function() { this.x += 3; this.setPosition(this.x, 100); } }); function main() { var loop = new MainLoop(); Core.UpdateEmitter(loop, loop.onUpdate); } Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 20/35
  • 21. var GL2 = require(“./NGCore/Client/GL2”).GL2; •  CommonJS   var Core = require(“./NGCore/Client/Core”).Core;   •      var MainLoop = Core.MessageListener.subclass({ initialize: function() { this.image = mychar = new GL2.Sprite(); this.image.setImage(“Content/myimage.png”); this.setPosition(100, 100); this.x = 100; }, onUpdate: function() { this.x += 3; this.setPosition(this.x, 100); } }); function main() { var loop = new MainLoop(); Core.UpdateEmitter(loop, loop.onUpdate); } Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 21/35
  • 22. var GL2 = require(“./NGCore/Client/GL2”).GL2; var Core = require(“./NGCore/Client/Core”).Core; var MainLoop = Core.MessageListener.subclass({ •    initialize: function() {     this.image = mychar = new GL2.Sprite(); •    this.image.setImage(“Content/myimage.png”); this.setPosition(100, 100); this.x = 100; }, onUpdate: function() { this.x += 3; this.setPosition(this.x, 100); } }); function main() { var loop = new MainLoop(); Core.UpdateEmitter(loop, loop.onUpdate); } Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 22/35
  • 23. var GL2 = require(“./NGCore/Client/GL2”).GL2; var Core = require(“./NGCore/Client/Core”).Core; var MainLoop = Core.MessageListener.subclass({ initialize: function() { this.image = mychar = new GL2.Sprite(); this.image.setImage(“Content/myimage.png”); this.setPosition(100, 100); this.x = 100; }, onUpdate: function() { this.x += 3; this.setPosition(this.x, 100); } }); function main() { •  main   var loop = new MainLoop(); •  UpdateEmiQer   Core.UpdateEmitter(loop, loop.onUpdate);   } Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 23/35
  • 24. var GL2 = require(“./NGCore/Client/GL2”).GL2; var Core = require(“./NGCore/Client/Core”).Core; var MainLoop = Core.MessageListener.subclass({ •  inialize/destroy   initialize: function() {   this.image = mychar = new GL2.Sprite(); this.image.setImage(“Content/myimage.png”); this.setPosition(100, 100); this.x = 100; }, onUpdate: function() { •    update   this.x += 3; this.setPosition(this.x, 100); } }); function main() { var loop = new MainLoop(); Core.UpdateEmitter(loop, loop.onUpdate); } Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 24/35
  • 25.       ( ) (V8/JavaScriptCore) Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 25/35
  • 26. new  GL2.Sprite();   i.setImage();   i.setPosion();       ( ) (V8/JavaScriptCore) Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 26/35
  • 27. new  GL2.Sprite();   i.setImage();   i.setPosion();       ( ) (V8/JavaScriptCore) “71818741285187013897431” Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 27/35
  • 28. new  GL2.Sprite();   i.setImage();   i.setPosion();         ( ) (V8/JavaScriptCore) “71818741285187013897431” Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 28/35
  • 29. “71818741285187013897431” EmiQer   (Box2D) onUpdate  {             }       ( ) (V8/JavaScriptCore) Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 29/35
  • 30. •  •  •  Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 30/35
  • 31. •  SDK   •  Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 31/35
  • 32. Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 32/35
  • 33. •    –    –  3D HTML5   •    –  ngServer   •  JavaScript   –  ngBuilder   •    –  ngGo   •    Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 33/35
  • 34. •  (Flash/Android emu/iOS  Sim)   •  JavaScript   •    •  GUI  Layout Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 34/35
  • 35. •  ngCore   –  ngCore 1/3   •    –    –  2D   –    –  Texture  Packer 9   –  Flash   –    –  Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 35/35
  • 36. •  ngCore   –    –    •    –  +JS   –    •  Copyright  (c)  1999-­‐2011  DeNA  CO.,Ltd.  All  rights  reserved. 36/35