View Full Version : SetLimitToMapArea

05-01-2009, 04:59 PM
I have added the following line to game_start.lua in the treeworld example:


It has been added directly beneath the line:

RunScript("gui/interface_utils.lua"); //from base

However the camera will still pan around outside the playable area of the map. What am I doing wrong? :(

05-02-2009, 10:19 AM
Hmm, I'll check it out. I remember I had the same problem with treeworld, might have because it has objects below/above the map area, I'll see what's up.

05-02-2009, 10:54 AM
OK Cheers Seth. Let me know what the results are.

FYI it is also happening on additional maps I have created, which doesn't have any objects on the map outside of the play area.