yeah it has to be possible to drag the lajyer instead a sprite, i have also a huge bug with this example, if you drag the map too far THEN collisions dont work anymore and the map image, leave the app screen.
@imothep85 You should not be able to move the map too far if you have done it right. I guess you have on collision with the sprites then change the position of the map? You have to have "is overlapping" so it stops the map from going too far every tick.
As you can see in my example there is no way to move the map too far as it stops whatever you try to do.
How many objects are on the layer you need to move?
Ok, good. And if you don't have too many objects that needs to be dragged you could have a pin behavior on each object and pin them to the map sprite when they are created and they will move with the map while being dragged.
now i added a video player with format "ogv" for android but videos don't play when i export to intel xdk, under browsers the videos are played but inside intel xdk no, i don't know if i have to add a plugin inside the xdk project?