01-29-2011, 01:11 AM
If you want to make a game without characters, use this script:
game.World.PartHere should be the new part the camera should be centered on.
Example: http://buildism.net/game.php?id=733
Code:
function playerAdded(c)
if c:isA("Character") then
c:remove()
game.Camera.FollowObject = game.World.PartHere
game.Camera.ScaleFactor = 7
end
end
link(game.World.ChildAdded, playerAdded)
game.World.PartHere should be the new part the camera should be centered on.
Example: http://buildism.net/game.php?id=733