Alice tutorial camera control
20 pages
English

Alice tutorial camera control

-

Le téléchargement nécessite un accès à la bibliothèque YouScribe
Tout savoir sur nos offres
20 pages
English
Le téléchargement nécessite un accès à la bibliothèque YouScribe
Tout savoir sur nos offres

Description

AliceLearning to program: Part ThreeBy Ruthie Tucker and Jenna Hayes,Under the direction of Professor RodgerDuke University, 2008Camera Control• Now that we have a great story written for our characters it would be nice to be able to change camera views. • This can simplify the story and sometimes add dramatic effectCamera Control• Lets make the Camera Zoom in on our first character when she talks and then look at the horse while our second character gets on.Camera Control• Click on “camera” in your object tree.• It should have a regular set of methods• Insert code into your first method to have the camera face your character while they talkCamera Control• When your second character gets on the horse, you can have the camera face him.• Finally, have the camera face the horse and press the “N” key to have your horse say “neigh”.• Play your world to test itDummy Cameras• you can use the purple arrows on the bottom of your world to move around the camera • You can drop a dummy camera wherever you find a view that needs a snapshotDummy Cameras• Dummy cameras are used to hold a specific view of your world in place while you move the regular camera around• Look to the right for a • Click the add objects button labeled “more controls”. Click it button on your screenDummy Camera• We did this earlier in part one but will now review it in more detail.• Use the purple arrows to move the screen to a new position on ...

Informations

Publié par
Nombre de lectures 78
Langue English

Extrait

ecilALearning to program: Part ThreeBy Ruthie Tucker and Jenna Hayes,Under the direction of Professor RodgerDuke University, 2008
••Camera ControlNow that we have a great story written for our characters it would be nice to be able to change camera views. This can simplify the story and sometimes add dramatic effect
Camera Control•Lets make the Camera Zoom in on our first character when she talks and then look at the horse while our second character gets on.
Camera Control•••Click on “camera”in your object tree.It should have a regular set of methodsInsert code into your first method to have the camera face your character while they talk
Camera Control•••When your second character gets on the horse, you can have the camera face him.fFaicnea lltyh,e  hhaovres et haen cda pmreersas  the “N”key to have your horse say “neigh”.Play your world to test it
Dummy Cameras••you can use the purple arrows on the bottom of your world to move around the camera You can drop a dummy camera wherever you find a view that needs a snapshot
••Dummy CamerasDummy cameras are used to hold a specific view of your world in place while you move the regular camera aroundClick the add objects button on your screen•Look to the right for a button labeled “more controls”. Click it
•••Dummy CamerapWaert  doind et hbisu t ewairllli enro iwn  review it in more detail.Use the purple arrows to move the screen to a new position on your camera.“WHeo rwsiell  Pcaolsl ittihoisn ”
Dummy Cameras••Now click on “drop dummy at camera”.This will literally drop a virtual camera where your camera currently is.
••••Dummy CameraNow, what if we want to go back to our original position?Go over to your object eertThere should be a folder called “Dummy Objects”.Underneath it will be a list of each dummy you have dropped, in the order that they are dropped•Note that the first Dummy Camera is named “Original Position”. This was from earlier.
••••Dummy CameraUnfortunately all of your dummy cameras are labeled “dummy”You can fix this by right clicking on “dummy”and selecting “rename”.You can rename your dummy whatever you would like.In this case it is named “Horse Position”.
  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents