pokelabo flash 2013/4

13
Copyright © POKELABO.inc All Rights Reserved. Confidenti al Copyright © 2004-2007 GREE,Inc. All Rights R Copyright © POKELABO.inc All Rights Reserved. Confidenti al 24.April 2013

Upload: shota-suzuki

Post on 31-Oct-2014

217 views

Category:

Mobile


1 download

DESCRIPTION

2013年のスライド。 Androidでの処理落ち対策で行った施策などなど

TRANSCRIPT

  • 1. 24.April 2013

2. Work 3. But, isnt webview slow? 4. Android behavior is particularly problematic. 5. Optimization of animation. Optimization of transmission rate. Optimization of CreateJS. Pokelabos fixes 6. Copyright POKELABO.inc All Rights Reserved.Confidential Optimization of animation We don't use the canvas for everything. Parts with little movement, including backgrounds and the status bar are done by html and css animation. We avoid resizing images as much as possible. We dont use Hardware Acceleration in Android ver.3+. We dont start Garbage collector (gc) in an animation. We call the native garbage collector when the animation stops. We put the header and footer in different webviews. We dont use iScroll. jQuery is heavy. So we use light libraries including zepto. 7. Copyright POKELABO.inc All Rights Reserved.Confidential Optimization of transmission rate Processing that takes time shouldnt happen in the UI thread. Caching and sharding. Image file packaging. Cache of Animation resource. (Changing parts are excluded dynamically) Use of concat, minify, gzip of js, css. 8. Copyright POKELABO.inc All Rights Reserved.Confidential Optimization of CreateJS We always round decimal places. We dont use many tweens. Set the frame rate to 12. We reduce the number of layers. We dont use layer hierarchies deeper than about three layers. We lower the quality of images used in canvas. 9. Copyright POKELABO.inc All Rights Reserved.Confidential But, isnt webview slow? 10. Now under development 11. Copyright POKELABO.inc All Rights Reserved.Confidential 12. Copyright POKELABO.inc All Rights Reserved.Confidential Mission To fulfill it, we must perform four missions 1. Surprise our coworkers. 2. Surprise our rival businesses. 3. Surprise the user. 4. Surprise the people all over the world. 13. Copyright POKELABO.inc All Rights Reserved.Confidential Copyright 2004-2007 GREE,Inc. All Rights Reserved.Copyright POKELABO.inc All Rights Reserved.Confidential Thank You!