New user question

Version 3 of lime
I created a 'largish' map, twice the height and 4 times the width of my screen, and I am attempting to scroll it automatically using an enterFrame function simply by calling map:move(1,0) inside the enterFrame loop

However, the map seems to 'dissappear' once it scrolls past the bounds of what was initially visible.

Forgive the newbish question, but the scrolling examples are all based on drags/touches and I want to do this automatically and searches in the forum turn up very old code that appears to be deprecated.

This is being caused by the culling function, it's not great but it does help. You have two options, either disable culling via lime.disableScreenCulling() before you create your map or add "map:update(event)" inside your enterFrame function.

Thanks Graham for the response, will give that a try.

Cool, give me a shout if it doesn't work.

views:1404 update:2011/10/13 16:30:09
corona forums © 2003-2011