04-04-2011, 04:40 PM
(04-04-2011, 04:38 PM)Qwertygiy Wrote: For lag testing, make a place that spawns a brick like this:
[lua]
while true do
sleep(3)
b = create("Box")
b.Parent = game.World
b.Size = Vec2D(15,4)
b.Position = Vec2D(game.World.Character.Body.Position.x + 20, game.World.Character.Body.Position.y + 2)
b.MaxForce = 0.01
sleep(1)
rock = create("Circle")
rock.Parent = game.World
rock.Radius = 5
rock.Position = Vec2D(b.Position.x, b.Position.y + 15)
rock.Fixed = false
end
[/lua]
That should work...
Anyway, make that a script, make sure your character is in the game, run it, and wait until there are so many fragments that the game starts to lag. Hope this helps
Nice idea, but I have a feeling certain bricks such as Water blocks will lag more and certain scripts would be laggier, I think I should just keep going and see if it gets too laggy.