generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Is Camera shaking possible?

Previous Thread :: Next Thread 
FlameEmber06 is not online. FlameEmber06
Joined: 19 Dec 2016
Total Posts: 27
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
Horrible_Pun is not online. Horrible_Pun
Joined: 13 May 2017
Total Posts: 5102
04 Sep 2017 09:14 PM
You can find a way to work it out, seems FAIRLY easy.
Report Abuse
tardysauce is online. tardysauce
Joined: 05 May 2012
Total Posts: 8444
04 Sep 2017 09:18 PM
edit camera offset in humanoid
Report Abuse
FlameEmber06 is not online. FlameEmber06
Joined: 19 Dec 2016
Total Posts: 27
04 Sep 2017 09:19 PM
Is there any good tutorials on it?
Report Abuse
tardysauce is online. tardysauce
Joined: 05 May 2012
Total Posts: 8444
04 Sep 2017 09:20 PM
pstebin /5jjv9G95
Report Abuse
FlameEmber06 is not online. FlameEmber06
Joined: 19 Dec 2016
Total Posts: 27
04 Sep 2017 09:36 PM
Doesn't work, Nothing happens.
Report Abuse
Weirdraidercs35 is online. Weirdraidercs35
Joined: 14 May 2015
Total Posts: 2275
04 Sep 2017 09:48 PM
mak e a custom camea system


im a mlg
Report Abuse
tardysauce is online. tardysauce
Joined: 05 May 2012
Total Posts: 8444
04 Sep 2017 09:52 PM
@flame output?
is it in a localscript?
Report Abuse
FlameEmber06 is not online. FlameEmber06
Joined: 19 Dec 2016
Total Posts: 27
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
tardysauce is online. tardysauce
Joined: 05 May 2012
Total Posts: 8444
04 Sep 2017 09:59 PM
dont put it on scriptable lol
Report Abuse
FlameEmber06 is not online. FlameEmber06
Joined: 19 Dec 2016
Total Posts: 27
05 Sep 2017 12:10 PM
What should I put it on then?
Report Abuse
FlameEmber06 is not online. FlameEmber06
Joined: 19 Dec 2016
Total Posts: 27
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 is not online. 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
FlameEmber06 is not online. FlameEmber06
Joined: 19 Dec 2016
Total Posts: 27
05 Sep 2017 04:10 PM
I want it to shake for everyone, yet it only does it for me :L
Report Abuse
WeirdGuyHere is not online. WeirdGuyHere
Joined: 20 Oct 2012
Total Posts: 1349
05 Sep 2017 04:41 PM
fireallclients
not fireclient
Report Abuse
FlameEmber06 is not online. FlameEmber06
Joined: 19 Dec 2016
Total Posts: 27
05 Sep 2017 04:55 PM
How would I do that?
Report Abuse
gohan31865 is not online. gohan31865
Joined: 30 Jan 2011
Total Posts: 895
05 Sep 2017 04:56 PM
... he just said the answer though?
Report Abuse
WeirdGuyHere is not online. WeirdGuyHere
Joined: 20 Oct 2012
Total Posts: 1349
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
WeirdGuyHere is not online. WeirdGuyHere
Joined: 20 Oct 2012
Total Posts: 1349
05 Sep 2017 05:13 PM
u can also add a debounce to prevent function spam
Report Abuse
WeirdGuyHere is not online. WeirdGuyHere
Joined: 20 Oct 2012
Total Posts: 1349
05 Sep 2017 05:14 PM
credit to tardysauce*
sorry thought they were same person lol
Report Abuse
PhantomVisual is not online. PhantomVisual
Joined: 08 Apr 2011
Total Posts: 2025
05 Sep 2017 05:21 PM
https://www.youtube.com/watch?v=GwlJyWwwMiI


Report Abuse
FlameEmber06 is not online. FlameEmber06
Joined: 19 Dec 2016
Total Posts: 27
05 Sep 2017 05:54 PM
Thank you so much... now I can make it a button :D
Report Abuse
FlameEmber06 is not online. FlameEmber06
Joined: 19 Dec 2016
Total Posts: 27
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 is online. 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
FlameEmber06 is not online. FlameEmber06
Joined: 19 Dec 2016
Total Posts: 27
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image