Tutorial: Removing the character
#1
If you want to make a game without characters, use this script:

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)