Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 8,079
» Latest member: seanac11
» Forum threads: 10,350
» Forum posts: 91,276
Full Statistics
|
Online Users |
There are currently 246 online users. » 0 Member(s) | 244 Guest(s) Bing, Google
|
Latest Threads |
I'm leaving the site too....
Forum: 2DWorlds Discussion
Last Post: Jacob_
07-03-2023, 04:59 AM
» Replies: 12
» Views: 6,414
|
hi there.
Forum: 2DWorlds Discussion
Last Post: Jacob_
01-03-2020, 04:30 AM
» Replies: 1
» Views: 775
|
obroke
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 10:11 AM
» Replies: 0
» Views: 20,546
|
fcouldn't
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 09:02 AM
» Replies: 0
» Views: 8,256
|
qhow
Forum: Current Games
Last Post: PhilipShums
09-06-2017, 07:25 AM
» Replies: 0
» Views: 2,141
|
zstone
Forum: Current Games
Last Post: TimothyTox
09-06-2017, 07:03 AM
» Replies: 0
» Views: 1,010
|
vbit
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 03:00 AM
» Replies: 0
» Views: 985
|
sildenafil 100 mg sandoz
Forum: Current Games
Last Post: RichardLen
09-06-2017, 12:28 AM
» Replies: 0
» Views: 1,203
|
mhis
Forum: Current Games
Last Post: TimothyTox
09-05-2017, 04:09 PM
» Replies: 0
» Views: 1,009
|
sildenafil citrate 100mg ...
Forum: Current Games
Last Post: Waltertog
09-05-2017, 12:27 PM
» Replies: 0
» Views: 964
|
|
|
Put this Script into your Body, Fall from a Large Height, and your Camera will SHAKE! |
Posted by: DoubleRainbow - 07-01-2011, 12:19 AM - Forum: 2DWorlds Discussion
- Replies (1)
|
 |
[lua]function shakeCamera()
i = 1
while i > 0 do
local vec = Vec2D(math.random(1, 3), math.random(1, 3)):mul(Vec2D(i, i))
local rotation = math.random(-4, 4) * i
if math.random() > 0.5 then
vec = vec:mul(Vec2D(-1, -1))
end
game.CurrentCamera.Offset = vec
game.CurrentCamera.RotationOffset = rotation
i = i - 0.25
sleep(0.02)
end
game.CurrentCamera.Offset = Vec2D(0, 0)
game.CurrentCamera.RotationOffset = 0
end
link(script.Parent.Collided, function(part, velocity) if math.abs(velocity.y) > 20 then shakeCamera() end end)
[/lua]
This was Added to the Client, and Stuff, but I showed it off, anyways. ^_^
|
|
|
|