Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
ngCore  @mootoh
Showcase
ngCore
Mehttp://         /mootohJTPA SVC 2009
MobileSocial    Game
Mobile   http://www.flickr.com/photos/mkuma443/4731933259/                                                      http://www....
Mobile         http://blog.nielsen.com/nielsenwire/consumer/smartphones-to-overtake-feature-phones-in-u-s-by-2011/        ...
Social
Social   Mobile
Game       http://www.flickr.com/photos/nchill4x4/5560435682/
Game                         Mobile       http://www.flickr.com/photos/nchill4x4/5560435682/
Mobile   Social   Game
MobileSocial    Game
ngCore
Cross         PlatformPerformance    Productivity
Platforms            Objective-C   Java
Platforms            Objective-C   Java
Platforms            Objective-C       Java                      C/C++
Platforms            Objective-C       Java                      C/C++                 Javascript + HTML
Performance   ProductivityC/C++                      (^o^)JS + HTML       ☓
Performance   ProductivityC/C++                        (^o^)JS + HTML         ☓JS + Native
ngCore• Write game logic in JS• Run across multiple platforms• Optimized Native modules• Rapid development iteration
Developer’s   View
Development       ProcessJS        httpd
Development         Process JS          httpdEdit
Development         Process JS           httpdEdit      reload
Development         Process JS           httpdEdit      reload   Test
Development         Process JS           httpdEdit      reload   Test
Demo •   Write game logic in JS •   Run across multiple platforms •   Optimized Native modules •   Rapid development itera...
API• Audio              • Social• Bank               • Storage• Device sensors     • UI• 2D Graphics• Networking• Physics
http://developer.mobage.com
Internal
Architecture      JS game code    JS ngCore module                               v8          JS Engine            JSC     ...
Game Engine  for(;;) {     input();     update();  }
RunLoopJS Engine                     Native Runtime             command string
RunLoopJS Engine                     Native Runtime             command string                                       parse...
RunLoopJS Engine                     Native Runtime             command string                                       parse...
RunLoopJS Engine                     Native Runtime             command string                                       parse...
RunLoopJS Engine                     Native Runtime             command string                                       parse...
RunLoopJS Engine                     Native Runtime             command string                                       parse...
RunLoopJS Engine                     Native Runtime             command string    exec                               parse...
RunLoopJS Engine                     Native Runtime             command string    exec                               parse...
RunLoopJS Engine                     Native Runtime             command string    exec                               parse...
Command var label = new GL2.Text(); label.setSize(150, height);      NGCore/Client/GL2/Text.js
Command      var label = new GL2.Text();      label.setSize(150, height);Module → id              NGCore/Client/GL2/Text.js
Command       var label = new GL2.Text();       label.setSize(150, height);Module → idInstance → id                NGCore/...
Command       var label = new GL2.Text();       label.setSize(150, height);Module → idInstance → idMethod → id            ...
Command         var label = new GL2.Text();         label.setSize(150, height);Module → idInstance → idMethod → idArgs:   ...
Command         var label = new GL2.Text();         label.setSize(150, height);Module → idInstance → id                   ...
Command         var label = new GL2.Text();         label.setSize(150, height);Module → idInstance → id                   ...
Implement a                     Module              IDL in JS                    gen stub{    class: “Text”,              ...
Upcoming...• More Interactive Development• Profiler, Debugger• Graphical Editor• Social
Discussion
SocialGame
http://www.flickr.com/photos/canadianveggie/4104506343/   http://www.flickr.com/photos/gullevek/3368785185/
Social Game•••$•     ?
GameEngines
JS/HTML5•                 ?•• JS engine, device   spec•
Performance                Native              JS + Native              JS + HTML
•• Performance x Productivity
Hot topics
WhyngCore?
Existing Global Social Graph   ngCore                  $
•
Conclude
Mobile           Social              Game                     CrossngCore                    Platform         Performance ...
ngCore
ngCore
ngCore
ngCore
ngCore
ngCore
ngCore
ngCore
ngCore
ngCore
ngCore
Upcoming SlideShare
Loading in …5
×

ngCore

8,239 views

Published on

ngCore, a mobile game engine developed by ngmoco:)/DeNA for Mobage service.

Published in: Technology, Design
  • Dating for everyone is here: ❶❶❶ http://bit.ly/2F90ZZC ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Sex in your area is here: ❶❶❶ http://bit.ly/2F90ZZC ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

ngCore

  1. 1. ngCore @mootoh
  2. 2. Showcase
  3. 3. ngCore
  4. 4. Mehttp:// /mootohJTPA SVC 2009
  5. 5. MobileSocial Game
  6. 6. Mobile http://www.flickr.com/photos/mkuma443/4731933259/ http://www.flickr.com/photos/marklincoln/5255361533/
  7. 7. Mobile http://blog.nielsen.com/nielsenwire/consumer/smartphones-to-overtake-feature-phones-in-u-s-by-2011/ March 26, 2010
  8. 8. Social
  9. 9. Social Mobile
  10. 10. Game http://www.flickr.com/photos/nchill4x4/5560435682/
  11. 11. Game Mobile http://www.flickr.com/photos/nchill4x4/5560435682/
  12. 12. Mobile Social Game
  13. 13. MobileSocial Game
  14. 14. ngCore
  15. 15. Cross PlatformPerformance Productivity
  16. 16. Platforms Objective-C Java
  17. 17. Platforms Objective-C Java
  18. 18. Platforms Objective-C Java C/C++
  19. 19. Platforms Objective-C Java C/C++ Javascript + HTML
  20. 20. Performance ProductivityC/C++ (^o^)JS + HTML ☓
  21. 21. Performance ProductivityC/C++ (^o^)JS + HTML ☓JS + Native
  22. 22. ngCore• Write game logic in JS• Run across multiple platforms• Optimized Native modules• Rapid development iteration
  23. 23. Developer’s View
  24. 24. Development ProcessJS httpd
  25. 25. Development Process JS httpdEdit
  26. 26. Development Process JS httpdEdit reload
  27. 27. Development Process JS httpdEdit reload Test
  28. 28. Development Process JS httpdEdit reload Test
  29. 29. Demo • Write game logic in JS • Run across multiple platforms • Optimized Native modules • Rapid development iteration
  30. 30. API• Audio • Social• Bank • Storage• Device sensors • UI• 2D Graphics• Networking• Physics
  31. 31. http://developer.mobage.com
  32. 32. Internal
  33. 33. Architecture JS game code JS ngCore module v8 JS Engine JSC C++ Native module Objective-C Java Native Runtime ActionScriptAndroid iOS Flash
  34. 34. Game Engine for(;;) { input(); update(); }
  35. 35. RunLoopJS Engine Native Runtime command string
  36. 36. RunLoopJS Engine Native Runtime command string parse Module
  37. 37. RunLoopJS Engine Native Runtime command string parse Module exec
  38. 38. RunLoopJS Engine Native Runtime command string parse Module exec
  39. 39. RunLoopJS Engine Native Runtime command string parse Module eval exec
  40. 40. RunLoopJS Engine Native Runtime command string parseModule Module parse eval exec
  41. 41. RunLoopJS Engine Native Runtime command string exec parseModule Module parse eval exec
  42. 42. RunLoopJS Engine Native Runtime command string exec parse returnModule Module parse eval exec
  43. 43. RunLoopJS Engine Native Runtime command string exec parse returnModule Module parse eval exec
  44. 44. Command var label = new GL2.Text(); label.setSize(150, height); NGCore/Client/GL2/Text.js
  45. 45. Command var label = new GL2.Text(); label.setSize(150, height);Module → id NGCore/Client/GL2/Text.js
  46. 46. Command var label = new GL2.Text(); label.setSize(150, height);Module → idInstance → id NGCore/Client/GL2/Text.js
  47. 47. Command var label = new GL2.Text(); label.setSize(150, height);Module → idInstance → idMethod → id NGCore/Client/GL2/Text.js
  48. 48. Command var label = new GL2.Text(); label.setSize(150, height);Module → idInstance → idMethod → idArgs: eval Primitive → String Instance → id NGCore/Client/GL2/Text.js
  49. 49. Command var label = new GL2.Text(); label.setSize(150, height);Module → idInstance → id String “311,1,3,150,100”Method → idArgs: eval Primitive → String Instance → id NGCore/Client/GL2/Text.js
  50. 50. Command var label = new GL2.Text(); label.setSize(150, height);Module → idInstance → id String “311,1,3,150,100”Method → idArgs: eval Primitive → String Marshal.dump Instance → id NGCore/Client/GL2/Text.js
  51. 51. Implement a Module IDL in JS gen stub{ class: “Text”, .js namespace: “GL2”, methods: { { sig: “void setText(string text)”, .cpp / .h js -> native }} .as
  52. 52. Upcoming...• More Interactive Development• Profiler, Debugger• Graphical Editor• Social
  53. 53. Discussion
  54. 54. SocialGame
  55. 55. http://www.flickr.com/photos/canadianveggie/4104506343/ http://www.flickr.com/photos/gullevek/3368785185/
  56. 56. Social Game•••$• ?
  57. 57. GameEngines
  58. 58. JS/HTML5• ?•• JS engine, device spec•
  59. 59. Performance Native JS + Native JS + HTML
  60. 60. •• Performance x Productivity
  61. 61. Hot topics
  62. 62. WhyngCore?
  63. 63. Existing Global Social Graph ngCore $
  64. 64.
  65. 65. Conclude
  66. 66. Mobile Social Game CrossngCore Platform Performance Productivity

×