Closed IPv6 closed 11 years ago
Hi, I guess your are using the latest master branch of Starling. For now Fire fly SDK is tested on latest Starling release tag 1.3. So you can swith to 1.3 (recomended) or just rename getClipRect method.
Is it work for you?
yes, renaming method worked ok.
but i am struggling with another issue for now. i am planning to make for both mobile and web. Firefly is not suited for web now as i see (NativeApplication, AndroidSound, stage must not be null even in constructor, etc). i managed to compile and run ZombieRisingUp 4 and can see menu but it is not correctly positioned (i am targeting web first). MenuView have w/h = 0/0, and everything positioned around left top corner of screen though stageWidth/stageHeight are normal (i am making 1024*768 swf). but background image placed ok (for example)
so i am figuring out where this 0/0 size appearing :)
Actually it wasn't designed to work on web
i understand :) but air is good for cross-platform development, so there is not much to change to bring web back as target platform
i finished one game - Lumarnia - with bare flash and released it on web (in social networks) and than on ipad with no pain. so i hope backward path should be possible too
Support of web browsers implemented.
i am starting new game project and decided to use firefly for this. i am using flash develop and decided to compile Zombiew... example, part4. i created separate folder for startling and firefly sources (without any swc - hate them :) ) and compilation gives following error:
C:_WPLabs\PROJECTS_GAMES\Dropbox\flash4\libs_ext\com\in4ray\gaming\components\Sprite.as(345): col: 20 Error: Incompatible override. C:_WPLabs\PROJECTS_GAMES\Dropbox\flash4\libs_ext\com\in4ray\gaming\components\Sprite.as(345): col: 20 Error: Overriding a function that is not marked for override. C:_WPLabs\PROJECTS_GAMES\Dropbox\flash4\libs_ext\com\in4ray\gaming\components\Sprite.as(327): col: 30 Error: Ambiguous reference to getClipRect. C:_WPLabs\PROJECTS_GAMES\Dropbox\flash4\libs_ext\com\in4ray\gaming\components\Sprite.as(365): col: 29 Error: Ambiguous reference to getClipRect.
is it sufficient to rename getClipRect in firefly sprite class to avoid such collision (with starling sprite class)?