Pleng
05-01-2009, 04:59 PM
I have added the following line to game_start.lua in the treeworld example:
GetCamera:SetLimitToMapArea(true);
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? :(
GetCamera:SetLimitToMapArea(true);
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? :(