Jump to content
Search Community

PippoFlash

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by PippoFlash

  1. Hi,

    I am building a complex app for iOS with long scrolling sprites.

    Actually, using BlitMask instead of scrollRect on a large Sprite, on iOS iPad retina it destroys performance instead of improving it. Is it expected or am I doing something wrong?

     

    Actually, the flow is as follows:

    - create BlitMask once

    enableBitmapMode() once

     

    onEnterFrame

    apply BlitMask.scrollY

    apply BlitMask.scrollX

     

    onCompleteMotion

    disableBitmapMode()

     

    it works as expected, interaction is restored on motion complete, but performance is horrible... goes from 40fps to 3fps... I export in GPU mode.

    Am I doing anything wrong? Or is it related to parsing a complex BMP in a retina display and uploading to the GPU?

     

    thank you very much

    Filippo

×
×
  • Create New...