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 » Scripting Helpers
Home Search
 

Generally speaking, how does one work with the Camera?

Previous Thread :: Next Thread 
MahPizzaIsHere is not online. MahPizzaIsHere
Joined: 30 Apr 2011
Total Posts: 7707
31 Jul 2011 08:03 PM
I would like to learn how to make intro GUIs in which the camera pans around the map and such. Could someone point me in the right direction? Helpful hints, wiki articles, etc would all be great.

Thanks!
Report Abuse
unknown89089 is not online. unknown89089
Joined: 21 Aug 2008
Total Posts: 2961
31 Jul 2011 08:04 PM
Well, I'm pretty sure that's not a GUI, that's messing with Camera.
Report Abuse
MahPizzaIsHere is not online. MahPizzaIsHere
Joined: 30 Apr 2011
Total Posts: 7707
31 Jul 2011 08:05 PM
Sorry, that was badly worded. An intro in which camera work is combined with a GUI. My apologies.
Report Abuse
unknown89089 is not online. unknown89089
Joined: 21 Aug 2008
Total Posts: 2961
31 Jul 2011 08:06 PM
Well you would put it all into one script, and it would have to be a LocalScript inside the GUI, you show your intros/stuff and when that's done, you pan the camera around, and then when you're done, rinse and repeat. After that, you return the CameraSubject to the player.
Report Abuse
MahPizzaIsHere is not online. MahPizzaIsHere
Joined: 30 Apr 2011
Total Posts: 7707
31 Jul 2011 08:07 PM
Alright, that helps. I'm not concerned with the GUI so much as the camera, though. How does one pan the camera?
Report Abuse
woofiewolf is not online. woofiewolf
Joined: 28 May 2009
Total Posts: 3296
31 Jul 2011 08:07 PM
I wanna learn too :D
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
31 Jul 2011 08:08 PM
It's just like positioning parts, except you need to tell the camera where to look.
Report Abuse
unknown89089 is not online. unknown89089
Joined: 21 Aug 2008
Total Posts: 2961
31 Jul 2011 08:09 PM
First of all, you have to have 1. A CameraSubject, and 2. A CameraPosition. The CameraSubject defines where it's pointing at, and the CameraPosition defines where the Camera is located.
Report Abuse
woofiewolf is not online. woofiewolf
Joined: 28 May 2009
Total Posts: 3296
31 Jul 2011 08:10 PM
Soo...

Leik...'

-----------------[] CameraPosition
[] CameraSubject

And it will be at the camera position, facing the subject? :>
Report Abuse
MahPizzaIsHere is not online. MahPizzaIsHere
Joined: 30 Apr 2011
Total Posts: 7707
31 Jul 2011 08:12 PM
That's what I wanted to know. Thanks! :D
Report Abuse
unknown89089 is not online. unknown89089
Joined: 21 Aug 2008
Total Posts: 2961
31 Jul 2011 08:16 PM
Pretty much... although... wait one second...
It's CoordinateFrame, not CameraPosition.
Report Abuse
woofiewolf is not online. woofiewolf
Joined: 28 May 2009
Total Posts: 3296
31 Jul 2011 08:24 PM
Kay...

Soo...

-______
/.........\
|....C...|
\______/

--HALO 8D

Instance.CameraFocus = game.Workspace.CaF
Instance.CoordinateFrame = game.Workspace.CF
wait(0.1)
Instance.CoordinateFrame = game.Workspace.CF2
wait(0.1)
Instance.CoordinateFrame = game.Workspace.CF3

--And so on until...

wait(0.1)
Instance.CameraFocus return
Instance.CoordinateFrame return

--WIll it work? :o

Report Abuse
unknown89089 is not online. unknown89089
Joined: 21 Aug 2008
Total Posts: 2961
31 Jul 2011 08:26 PM
CameraSubject...
Report Abuse
woofiewolf is not online. woofiewolf
Joined: 28 May 2009
Total Posts: 3296
31 Jul 2011 08:29 PM
That too :>

But will it work with CameraSubject? :o
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
31 Jul 2011 08:49 PM
@woofiewolf

CameraSubject focus's on a Certain object or part.


Too bad i don't know how to do what Mod-Venture did...I wish i did though...It's cool when they pan around the map.

Here's some examples:
__________________________________________________________

(Must be a LocalScript)

Camera = game.Workspace.CurrentCamera
Part = game.Workspace["PART NAME HERE"] --Can be spaced!!

Camera.CameraSubject = Part

or...

game.Workspace.Camera.Focus = CFrame.new(Vector3.new(1,1,1))

Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
31 Jul 2011 09:11 PM
http://www.roblox.com/Camera-Manipulation-Tutorial-item?id=56023957

Crazyman32 made that.
Report Abuse
unknown89089 is not online. unknown89089
Joined: 21 Aug 2008
Total Posts: 2961
31 Jul 2011 09:12 PM
He certainly is crazy.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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