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


Messages In This Thread
Tutorial: Removing the character - by Jacob__mybb_import1 - 01-29-2011, 01:11 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)