Extending Cocos2D-x Mobile 2D Framework Rony Xu Happy Elements.

Slides:



Advertisements
Similar presentations
New Release Announcements and Product Roadmap Chris DiPierro, Director of Software Development April 9-11, 2014
Advertisements

Technology Requirements for Online Testing Online Training Module for the Smarter Balanced Assessment.
Building Mobile Apps in the Cloud – Comparing Approaches.
3D Programming Cocos 2D-x and Unity 3D Nguyễn Đức Toàn Bùi Minh Đạo
© 2009 Research In Motion Limited Methods of application development for mobile devices.
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
Kerio Connect 7.1 More Than Just a Mail Server
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
UFCFX5-15-3Mobile Device Development Android Development Environments and Windows.
How to make it work? Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
ECLIPSE IDE N AME : A SHOK P ADMARAJU C OURSE : T OPICS ON S OFTWARE E NGINEERING I NSTRUCTOR : D R. S ERGIU D ASCALU.
SNEAK PEEK OF APPEON MOBILE JANUARY 25, – August 14, 2015 MOBILE MARKET TRENDS Some recent figures about the worldwide Market: 1 Billion Smartphone.
The PhoneGap History Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
Intelligent Tutoring System Mobile Communication Team Drew Boatwright Nakul Dureja Richard Liou.
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
UFCFX5-15-3Mobile Device Development UFCFX Mobile Device Development An Introduction to the Module.
Presented by…. Group 2 1. Programming language 2Introduction.
Android Introduction Platform Overview.
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute. Adobe Gaming SDK Casual Connect Europe 2013 Tom Krcha.
Lightning Talk Fred Rodriguez Nguyen Do CPSC 473 May 6, 2012.
Sikuli Ivailo Dinkov QA Engineer PhoneX Team Telerik QA Academy.
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Adobe Presentation Brijesh Patel | Working with AIR Native Extensions.
Take a leap towards the most promising technology
Java Mobile Apps with GWT & PhoneGap Josh Marinacci, webOS Developer Advocate.
Introducing NativeScript [Pavel Kolev Software Telerik: a Progress company]
Android for Java Developers Denver Java Users Group Jan 11, Mike
Chapter 12: Finale! Publishing Your Android App
2006 Adobe Systems Incorporated. All Rights Reserved. 1 Adobe RIA Technologies: Adobe Flex 3 Cornel Creanga Platform Evangelist
The Mobile CRM Conference 2015 September 14-15, 2015 in Boston, MA Take Your CRM to the Next Level.
Mobile web Sebastian Lopienski IT Technical Forum 29 June 2012.
BlackBerry Application Development 06PLM – Group 7 Andrian Eduard Bangga Ikhsan Baskara Joovanny Pasuhuk Rangga Fajarullah.
WEP Presentation for non-IT Steps and roles in software development 2. Skills developed in 1 st year 3. What can do a student in 1 st internship.
IBM Bluemix Ecosystem Development Hands on Workshop Section 1 - Overview.
The way of hybrid mobile development Hybrid Mobile Applications Telerik Software Academy
Game on! With Nativescript
Mohit Anand, Software Engineer Adobe 1 Selecting GUI Automation Testing Tool for Mobile Domain.
Paperless Timesheet Management Project Anant Pednekar.
1 KaaShiv InfoTech  Presents  INTEL XDK For Inplant Training / Internship, please download the "Inplant training registration form" from our website.
Technology Requirements for Online Testing Training Module Copyright © 2014 American Institutes for Research. All rights reserved.
Plug-in Architectures Presented by Truc Nguyen. What’s a plug-in? “a type of program that tightly integrates with a larger application to add a special.
 Automating the process of writing the automation code using Allay Test Tool.  Allay Test Tool generates test files in executable/running form.  Dev/Testers.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
Plug-In Architecture Pattern. Problem The functionality of a system needs to be extended after the software is shipped The set of possible post-shipment.
Google Web Toolkit for Mobile Applications Development INGENUITY AT ITS BEST……………….
Technology Requirements for Online Testing Training Module Copyright © 2014 American Institutes for Research. All rights reserved.
Best 5 Mobile App Development Tools for Developer's to think beyond the Limitation.
丁建文 國立高雄應用科大資管系副教授 兼任計網中心軟體發展組組長 跨平台行動應用軟體開發技術 : HTML5 & Mobile JavaScript Framework 暨南大學.
APP DESIGN AND DEVELOPMENT WITH THE IONIC FRAMEWORK Chuck Leone
JavaFX on Mobile and Embedded: Status and Future Plans
Build Cross-Platform Mobile Apps Using Visual Studio A Telerik webinar by Jeffrey T. Fritz March 27, 2014 AND.
Android apps development - Eclipse, Android SDK, and ADT plugin Introduction of.
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
Technology Requirements for Online Testing Training Module Please refer to the revision log on the last slide of this presentation, updated August.
Mobile Device Development
PhoneGap, Processing.
Appium Studio Appium testing made easy at any scale.
Obtaining the Required Tools
Building Internet Applications With Mozilla XULRunner
APK Downloader
Dynamics of Mobile Application Testing
1. Open any Office 2016 app, such as Word, and create a new document.
Introduction to Office365 Forms and Flow
Compile, Build, and Debug
Google App Engine Ying Zou 01/24/2016.
Technical Capabilities
MOBILE PROGRAMMING Meriska Defriani, S.Komp, M.Kom Introduction
Web Application Development Using PHP
Presentation transcript:

Extending Cocos2D-x Mobile 2D Framework Rony Xu Happy Elements

Agenda Why Overall Framework Design Q&A guide

Why we use Cocos2Dx ?

Techniques We Used Cocos2d-iphone HTML5 Adobe Air Porting Cocos2Dx Conora Unity Cross-platform Controllability Performance

Why scripting ?

Multi-version IOS/some Android mkts can’t incremental update Big pack with all resolution, wasting bandwidth and storage. Update issues Google Play : 2 hours IOS : 5 days Update Cycle

Different Develop & Debugging tools Context broken Difficulties on device debugging Debug Issues 1. Need script for compile, deploy & debug 2. NDK in Eclipse is very difficult to debug Need to use MAC for compile, deploy & debug IOS Android

50% of the debugging time is dealing with crash Easy Crash : using Auto-Release Pool Easy to Lose Context/Stack, especially in optimized mode Crash Quality standard 5% crash rate over 5000 minutes testing sessions

Why we choose Lua ?

Easy, Controllable Lightweight Most games in China market is written with cocos2dx+lua Solutions

What have we done ?

Android : Java  Lua IOS: OC   Lua LuaJit replace Lua 5.1 3rd party Lib API

IDE & Debugger UI Editor Animation Editor TTF Font export tools Tools

COCOS2D-X Develop Tools Mem Disambiguation Localization Utilities Network Resource Management Crash Render Script Engine Third party Integration Account SNS Integration Payment Notification Data Analytics Ad/x-prom Log Tracker CI Service IDE Automated Build Scripts Debugger PackagingTools Logger Engine

Lua scripting runtime toLua++ Cocos2dx/Commo n Lib iOS native api LuaJava iOS 3rd party API Android 3rd party API Android native API Interface w/ languages Wax

- Base on Zerobrane - Enhance 120x debugging performance - Locating files & symbols - Push to device - Improve context helper Lua debugger

StubDebugger iOS stub Android stub Windows stub File List & MD5 Connect Debugger Connection Success Log & Breakpoint Changed File File Push Close connection Send Instruction File Deploy Process Debug Process Push to device

Complete the Update transaction Increment update Download on Demonds Modules Resolutions Resources Encryption APK Update (China Android Markets) Resource Manager – Design Purpose

APK/App Directory Resource Manager - Design Current Resource Locator Resource Locator version Content with md5 name Old Resource Locator Document Directory Content with md5 name

ClientCDN Dynamic Server Get the latest configuration Download configuration Download Resources Check if the current configuration up-to- date Check the missing resource Incremental update

Client CDN GameGame Res Mgr Ensure Modules Local cache ? Download Resource Callback Result Download on Demand Load Resource

Crash analyze system PLCrash reporter GooglebreakpadGooglebreakpad Crash Analysis Center Center Log tracker Game Crash folder Crash Sent Task Developer SymbolCenterSymbolCenter Build

- Hudson - Download & install on mobile - Update notice, auto-download update package - Crash/ Log collect & analyze - Session time analyze - CDN check - Udid management - Oneclick submit to App store & Google Play (future) Build/CI

Build.sh symbols Hudson apk/ipa/png resources Adhoc.mobil eprovision Svn build_version Project.plist Safari Mobile Browser Udid Check Resource Manager CDN Resource Manager CDN Crash Analysis Crash Analysis Latest Version Client Manager

Dragon Bones ■ Flash CS5.5+Plugin ■ UI Editor ■ Animation Editor Font editor ■ BMP Font ■ TTF Tools

Particle designer Glyph designer Third Party Tools

Thanks! OpenSource Community Cocos2dx LuaJava Wax

ZeroBrane Mobdebug DragonBones Thanks! OpenSource Community

Questions go to Name: Cong Ling WeChat: cong_ling1