New issue
 Projects > js > Issues > Refactor #3370

Refactor the Resolution Policy and game view adaptation logic

Refactor #3370 [Closed]
pandamicro 2013-12-10 10:08 . Updated about 10 years ago

Currently, all concept for this subject is mixed up in CCEGLView and cc.setup function. The idea is to separate these concept: Resolution Policy, Device(Mobile or not), Browse into different class and put the code logic related to them into their own class. In this way, the readability and extensibility can be greatly improved and the code will be more maintainable.

pandamicro 2013-12-17 08:33
  • Due date set to 2013-12-23

The problem research document can be found here:\#

The last section is the refactor proposition, it was validated by HTML5 engine groupe today and targeted to 2.2.2.

pandamicro 2013-12-19 08:41
  • Status changed from New to Closed
  • % Done changed from 0 to 100

The solution of refactor has been completed and merged in this pull request
The solution has been tested on iPhone5/iOS7, Xiao MI 2, Galaxy Note 2
Known bugs can be seen in this document:\#

Atom PDF

Start date:2013-12-10
Due date:2013-12-23
% Done:


Target version:v2.2.2