Login or Register to save videos, comment and join the community trends. NO ADS!

Crosshairs and Camera zoom in Unity 3d

· 4 · 10.8 thousand
Posted 4 years ago
Unity (game Engine), unity3d, unity 4, Game Engine (Software Genre), beginner, tutorial, xenosmash, game development, camera, zoom, crosshair, Unity (Software), how to make a video game, making a video game, how to make games, how to make a computer game, how to use unity 3d for beginners, unity, how to make a game in unity, how to make a video game for free, make a game, how to make an indie game, unity3d basics, how to make a pc game, how to make a unity game, scope, sniper, Unity 3d
Category: Education
Description: http://xenosmashgames.com/crosshairs-and-camera-zoom-in-unity3d/In this Xenosmash tutorial we will be going over how to create a simple crosshair (a dot in this tutorial) to replace our cursor arrow. Then we'll show you how to use a script that will be applied to our camera to zoom in using the "Field of View" (FOV) settings in our camera when we press the "z" key.We'll start off by adjusting the field of view for our camera using our script. This script will have a simple boolean type of toggle that will check to see if we're zoomed in. If we are then it will zoom out and vice versa. We can adjust the amount of zoom to use this script on a variety of "scopes" or binoculars. We'll use the "z" key to toggle this zooming feature. We'll finish off this video by changing our cursor using a custom crosshair. For this video we used a dot similar to the "crosshair" in Max Payne. We'll use a small 2d texture and use the GUITexture component for this. This will show a custom cursor but we'll also need to make sure our arrow cursor disappears when we click into our game so that only our crosshair is visible. Scripts can be found here: http://xenosmashgames.com/crosshairs-and-camera-zoom-in-unity3d/
Duration: 6 minutes and 35 seconds
Rating: 9/10 - Excellent
Definition: HD
Published: April 23, 2013
Uploader: Xenosmash Games


Login / Register to comment.

Related Videos

SpeedTutor • 1 year ago
I show you how to create a camera zoom script using C# programming, which simply uses your mouse right click to smoothly adjust the field of view of your camera. We create a basic script, with a few variables and control the script easily in the inspector! Facebook page: https://www.facebook.com/Speedtutoruk Twitter: https://twitter.com/SpeedTutor Donations: http://www.speed-tutor.com/donate ---------------------------------------------------------------------------------------------------- Download recent scripts: http://speed-tutor.com/scripts/ Download the survival series assets: http://speed-tutor.com/survival-series/ Keep yourself upto date by finding out about new and upcoming tutorials on: http://www.speed-tutor.com
Stuart Spence • 3 years ago
Add a crosshair/reticle to the centre of your screen. This introductory video assumes you know very little about computer programming and Unity3D. Do you have an idea for my next video? Send me a message, or support me on Patreon to prioritize your idea! http://www.patreon.com/stuartspence http://www.codingplayground.ca Made with Unity version 4.3.
FNGamesTuts • 4 years ago
Starting a series with some tutorials :) You can request if you want. Script ↓↓↓↓↓ http://ca137d73.any.gs
Kiseljak • 4 years ago
Download: http://www.mediafire.com/view/?q6di6qae31uuefq Topic: http://armedunity.com/topic/3533-camera-zoom-script/ Just import that script and put it in your main camera.
Sykoo • 1 month ago
A comparison video between Unity's and Unreal Engine's post-processing and graphics! I also tried explaining why Unreal Engine has "better" graphics by default. I went into its standard image effects being added since the creation of a level, and explained further why Unity does not look as good at start. Don't forget to let us know what YOU think and feel about this topic! Do you think Unreal Engine has beautiful image effects? Do you think Unity will be able to take over UE4 with its post-processing stack in 5.6? I hope you guys enjoy! ♥ VIDEO LIKE GOAL: - 70 Likes! ♦ Credits for the comparison pictures used in this video: http://not-lonely.com/blog/making-of/unity-ue-comparison/ ▬ ♦ Check out these videos too! • TOP 3 Post-Processing Effects for Unity! https://www.youtube.com/watch?v PqOA8mSGOXU • How to Pick a Game Engine? https://www.youtube.com/watch?v ibK3Ds7nDyk ▬ ♦ Links: • My Website: http://www.sykoos.com • Twitter: http://www.twitter.com/sykoosam • YouTube: http://www.youtube.com/SykooTV ▬ Partnered by Curse, UnionForGamers. Owner of MESVER & MESVER NETWORK http://www.mesver.com
iUnity3Dtutorials • 2 years ago
No Coding Required. A very short and easy tutorial for the Unity beginner. How to Add a Crosshair to your Unity game. Help or Questions, leave a comment below. Thanks for watching! http://twitter.com/unity3dnews
GaGiCF • 4 years ago
Fps game made in unity3d by one man team. http://unity3d.com/ All models ware modeled and animated in blender 3d. http://www.blender.org/ Scripting language is javascript. Features: - buggy ladder - parkour - weapons ( m40a5, p99, axe) - weapon customization system ( acog, red dot, holographic, laser, flashlight) - spread - recoil - dynamic crosshair - simple door - breakable glass
WatchMojo.com • 3 years ago
These are the games that are taking forever. Join http://www.Watchmojo.com as we count down our picks for the Top 10 Games in Development Hell. Special thanks to "SeanWolf", "Jack Morris" and "DaveVsTheWorld" for submitting the idea for this video on our WatchMojo.com/suggest page! Check out the voting page here, http://watchmojo.com/suggest/Top%2010%20Games%20in%20Development%20Hell If you want to suggest an idea for a WatchMojo video, check out our interactive Suggestion Tool at http://www.WatchMojo.com/suggest :) Check us out at Twitter.com/WatchMojo and Facebook.com/WatchMojo We have T-Shirts! Be sure to check out http://www.WatchMojo.com/store for more info. Help us caption & translate this video! http://amara.org/v/E7dG/
Xenosmash Games • 4 years ago
http://xenosmashgames.com/explosive-rocket-launcher-in-unity3d/ In this Xenosmash tutorial we'll go over how to create a simple rocket launcher that shoots out explosive rockets that explode on impact with other rigidbodies' colliders. This can be used to shoot out any type of explosive projectile. We'll start off by creating a simple "rocket launcher" cylinder, then apply an empty game object directly in front of the "barrel" of our rocket launcher. This is where we will instantiate our rocket to shoot out of. Our rocket will have it's own explosion script attached to it. The way this script will work is that once it collides into another collider then it will initiate the explosion. So we have our empty game object that instantiates and "shoots" out our rocket. The rocket that is instantiated will then fly out and once it collides into an object (with a collider) it will explode on impact. If you shoot the rocket into the air it will not explode, so we'll also need to include a "destroy" section to our script that it will destroy itself regardless after a set time period. Scripts can be downloaded here: http://xenosmash.com/explosive-rocket-launcher-in-unity3d/