|
| 04 Sep 2017 09:09 PM |
I've seen it in games, and I've found a realistic one in a game called 'anomaly breach'.
So it is possible, but how do these work? I've always wanted a realistic camera shake like the one from anomaly breach. |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2017 09:14 PM |
| You can find a way to work it out, seems FAIRLY easy. |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2017 09:18 PM |
| edit camera offset in humanoid |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2017 09:19 PM |
| Is there any good tutorials on it? |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Sep 2017 09:36 PM |
| Doesn't work, Nothing happens. |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2017 09:48 PM |
mak e a custom camea system
im a mlg |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2017 09:52 PM |
@flame output? is it in a localscript? |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2017 09:58 PM |
| Nothing appears in output, I had the camera setting to Scriptable and put it in StarterPack, nothing happened... |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2017 09:59 PM |
| dont put it on scriptable lol |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2017 12:10 PM |
| What should I put it on then? |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2017 04:02 PM |
| I managed to make it work, then realized that it doesn't go to everyone, would I have to use a RemoteEvent to get it to everyone? |
|
|
| Report Abuse |
|
|
Isosta
|
  |
| Joined: 10 May 2015 |
| Total Posts: 14729 |
|
|
| 05 Sep 2017 04:05 PM |
keep it on scriptable.
why do you need remoteevents for camera shake
|
|
|
| Report Abuse |
|
|
|
| 05 Sep 2017 04:10 PM |
| I want it to shake for everyone, yet it only does it for me :L |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2017 04:41 PM |
fireallclients not fireclient |
|
|
| Report Abuse |
|
|
| |
|
|
| 05 Sep 2017 04:56 PM |
| ... he just said the answer though? |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2017 05:12 PM |
* Add a part into your game. Put it in Workspace and called it anything. (ex: Brick) * Add a RemoteEvent into ReplicatedStorage. Call it ShakeCameraEvent * Add a script inside ServerScriptStorage. Call it Server * Add a local script inside StarterGui. Call it Client
We will shake the camera for everyone on the server if someone touches Brick. You can change it to what ever you want, this is just an example.
-- IN SERVER
local ReplicatedStorage = game:GetService("ReplicatedStorage") local ShakeCameraEvent = ReplicatedStorage:WaitForChild("ShakeCameraEvent") local isShaking = false
game.Workspace.Brick.Touched:connect(function(player) ShakeCameraEvent:FireAllClients(isShaking) end
-- IN CLIENT
local ReplicatedStorage = game:GetService("ReplicatedStorage") local ShakeCameraEvent = ReplicatedStorage:WaitForChild("ShakeCameraEvent") local LocalPlayer = game.Players.LocalPlayer
pstebin 5jjv9G95 -- credited to gohan (PLACE ALL 7 LINES HERE)
ShakeCameraEvent.OnClientEvent:Connect(function() shake() end
|
|
|
| Report Abuse |
|
|
|
| 05 Sep 2017 05:13 PM |
| u can also add a debounce to prevent function spam |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2017 05:14 PM |
credit to tardysauce* sorry thought they were same person lol |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2017 05:21 PM |
https://www.youtube.com/watch?v=GwlJyWwwMiI
|
|
|
| Report Abuse |
|
|
|
| 05 Sep 2017 05:54 PM |
| Thank you so much... now I can make it a button :D |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2017 05:57 PM |
| Wait ITV would be possible rob make it work when a TextButton on a UI is clicked right? |
|
|
| Report Abuse |
|
|
Optikk
|
  |
| Joined: 19 Jul 2017 |
| Total Posts: 94 |
|
|
| 05 Sep 2017 06:02 PM |
| yea, text buttons and workspace buttons are pretty much the same in terms of function |
|
|
| Report Abuse |
|
|
|
| 06 Sep 2017 03:33 PM |
| How would I do that, (don't give script just teach me so I can learn and use this in the future) |
|
|
| Report Abuse |
|
|