Friday, 15 February 2013

android - Cocos2d-js: projects need to be that huge? -



android - Cocos2d-js: projects need to be that huge? -

i'm trying out cocos2d-js (version 3.0) , simplest 'hello world' project on 1 gigabyte in size when created.

is normal? (i have habit of creating dozens of demo-projects when trying out new platform, looks need myself bigger ssd, this!)

also, size of apk, when compiled android, 9 mb. ways cut down size?

sadly, yes. i've mentioned this in community couple of times no avail. believe files should referenced/cached in mutual location projects, dev team seems have other priorities @ present.

if wish maintain projects you'll improve off heading frameworks directory , deleting folders except cocos2d-html5 (this 1 should 5mb only) in there. - alternative delete cocos2d-html5 folder, place in mutual dir (or utilize re-create in install folder) , reference path in projetc's config file. maintain in mind alternative may break code suggesstion/autocomplete in editors, , throw errors in webserver when seek run project.-

this way, you'll able run of projects in browser, , add together files neccessary native compilation in projects wish test in emulator or device (or compile publishing). sadly take lot of time re-create , re-generate files, of course.

as reducing size of .apks... don't know way. know efforts beingness made optimize binder, , there may way explicitly avoid packaging unused stuff, don't know it.

android cocos2d-js

No comments:

Post a Comment