performance issues with vectors in IOS


hello,

 

i developing game user have find gift hidden bettween thousand of pixels of image, mean, 1 of image's pixel winner.

 

to represent draw grid, 5x5 pixel grid, draw shape 1 pixel border line , alpha 0 fill, see line, big grid on image.

 

each cell have id, , when click on cell program check if winner cell.

 

well, works find y computer, in mobile no, performance it's bad, slow. try changing render mode, nothing.

 

any 1 have idea best way achive that? have change technic?

 

thanks much.

what noticing far vectors work garbage. 1 simple thing cacheasbitmap=true on vector objects.
or draw these grids bitmapdata object, don't use vectors. don't need grid or of objects check mousex , mousey position on click event handler. ok maybe grid visual effect ? "draw" vectors bitmap using bitmapdata.draw method remove vector grid stage.

 

you said winning "pixel" drawing box on each pixel ? yikes



More discussions in AIR Development


adobe

Comments