(Curious if anyone has done something similar or has an idea to simplify this)
I'm looking to display a large (9,961 map square sprites) or so, scrollable map that shows the position of user locations (icons with x,y coordinates and user information). The graphics don't have to be awesome, but the info will need to be updated when changed. The map can change but is usually static.
Things I've done:
1. Pin map square sprites (60x40) to a background sprite (3500x3500). The background has the drag/drop behavior. The Pin behavior calls were eating up 34% of memory, so changed pin on start to on touch start/end, pin/unpin. Pin must be an every tick behavior and changing it to touch dropped cpu behavior calls to 5% of memory. (Amazingly, this doesn't seem to be causing any display issues when doing preview on mobile and is very smooth scrolling.)
2. Changed the layer scale to 3 (graphics are meh, but scrolls smoothly).
3 Used save as json (array) for the locations of user sprites (about 300kb max size) and have a variable used to check the server for changes. (Everyone uses the same .json map file, but there is a cell in a mysql database call changed. If changed = 1, then users update their maps else use the previously downloaded map.
Anyway, just looking for ideas. Thanks in advance!