Video Games Development

Unity 3D Game Engine – Best Resources

Unity 3D Game Engine – Best Resources

Official Unity Web Site

Start Here! Download the software, beginners tutorials, asset store.

http://unity3d.com/

Official Wiki

Thousands of scripts ready to use, tips and more, REALLY GREAT!

http://wiki.unity3d.com/

Organized tutorial list

Video Tutorials from Unity

List of Tutorials & Resources on UnityAnswsers:
http://answers.unity3d.com/questions/12321/how-can-i-start-learning-unity-fast-list-of-tutori.html

List of Tutorials & Resources from “Unity Support” on this forum
http://forum.unity3d.com/threads/28867-Learning-Resources-for-Unity

Walker Boys
http://forum.unity3d.com/threads/69938-Unity-3-Video-Training-Course-(FREE)-Walker-Boys

InsurgentX
http://forum.unity3d.com/threads/107593-InsurgentX-s-Unity-Advanced-Tutorials

TornadoTwins
http://www.youtube.com/user/TornadoTwins

BurgZergArcade
http://www.burgzergarcade.com/

BurgZerg RPG Tutorials
http://www.burgzergarcade.com/hack-slash-rpg-unity3d-game-engine-tutorial

Catlikecoding: Unity Tutorials
http://catlikecoding.com/unity/tutorials/

Buy Dame Assets

Free

http://www.3dvalley.com/
http://www.3dsmodels.com/
http://3dmagicmodels.com/
http://archive3d.net/
http://opengameart.org/
http://www.katorlegaz.com/3d_models/index.php
http://www.sharecg.com/
http://e2-productions.com/repository/modules/PDdownloads/
http://www.morguefile.com/
http://www.sxc.hu/
http://www.texturemate.com/
http://www.publicdomainpictures.net/
http://www.public-domain-photos.com/
http://www.public-domain-image.com/
http://creativity103.com/
http://www.openclipart.org
http://www.fromoldbooks.org/
http://www.gfxplace.com/

Free/Paid

http://www.3drt.com/
http://bunbun.com.au/
http://activeden.net/category/unity-3d
http://www.unitymagic.com/shop/
http://www.thegamecreators.com/
http://www.the3dstudio.com/
http://www.3dmagicmodels.com/
http://www.dexsoft-games.com/
http://www.creativecrash.com/
http://www.turbosquid.com/
http://www.gametextures.com/
Unity Asset Store (Inside Unity)

Paid Only

http://www.indiegamemarket.com/
http://visualconduct.com/shop/
http://www.arteria3d.com/
http://www.3dmedia.be/
http://developer.daz3d.com/
http://www.nekotika.com/
http://www.unitydevs.com/
http://www.unityprefabs.com/
http://www.frogames.net/
http://www.gamesprites.com/

By |Unity3D, Video Games Development|Commenti disabilitati su Unity 3D Game Engine – Best Resources

Unity – Prefabs – Pre Configurated GameObjects

Unity – Prefabs – Pre Configurated GameObjects

Unity Prefabs are pre-configurated GameObjects

Essentials

– A Prefab is a type of asset (attività), a reusable GameObject stored in Project View.

– Prefabs can be inserted into any number of scenes, multiple times per scene.

– When you add a Prefab to a scene, you create an instance of it.

– All Prefab instances are linked to the original Prefab and are essentially clones of it. No matter how many instances exist in your project, when you make any changes to the Prefab you will see the change applied to all instances.

Creating Prefabs

In order to create a Prefab, simply drag a GameObject that you’ve created in the scene into the Project View.

1. Assets> Import New Asset… (Importa una nuova attività)> file.fbx (3D Model)

2. Assets> DRAG the imported Asset in the ‘Scene’ window twice
NOTICE: Hierarchy> The GameObject’s name will turn blue to show that it is a Prefab.

OR

DRAG AND DROP the Asset inside ‘Prefab’ folder

3a. Assets> select the imported Asset> Change material, ALL GameObjects in the scene will change.
OR
3b.Hierarchy> select a GameObject> Change material, ALL GameObjects in the scene will change.

After you have performed these steps, the GameObject and all its children have been copied into the Prefab data. The Prefab can now be re-used in multiple instances. The original GameObject in the Hierarchy has now become an instance of the Prefab.

Inheritance

Inheritance means that whenever the source Prefab changes, those changes are applied to all linked GameObjects. For example, if you add a new script to a Prefab, all of the linked GameObjects will instantly contain the script as well. However, it is possible to change the properties of a single instance while keeping the link intact. Simply change any property of a prefab instance, and watch as the variable name becomes bold. The variable is now overridden. All overridden properties will not be affected by changes in the source Prefab.

– If you want to update the source Prefab and all instances with the new overridden values, you can click the Apply button in the Inspector.
Note that the root’s position and rotation will not be applied, as that affects the instances absolute position and would put all instances in the same place. However position and rotation from any children or ancestors of the root will be applied as they are computed relative to the root’s transform.

– If you want to discard all overrides on a particular instance, you can click the Revert button.

By |Unity3D, Video Games Development|Commenti disabilitati su Unity – Prefabs – Pre Configurated GameObjects

Unity – Scripts – Assets

Unity – Scripts – Assets

1. MAIN TOP MENU> Assets> Import Package> Scripts

2. Projects> Standard Assets> Scripts

– Camera Scripts
Mouse Orbit
Smoot Follow
SmootlookAt

– General Scripts
Activate Trigger
Drag RigidBody

By |Unity3D, Video Games Development|Commenti disabilitati su Unity – Scripts – Assets

Unity Game Engine – Initial Setup – Folder Structure – Import New Asset

Unity Game Engine – Initial Setup – Folder Structure – Import New Asset

New Project folder

1. File> New Project> Setup default for… 3D> setup a path and a name for this project (example D:\Unity\Space-Shooter-001), IMPORTANT: you have to choose a empty folder!

Inside the folder Unity has created the folders:
– Assets
– Library
– ProjectSettings
– Temp

You can add a folder ‘Package’ and copy your .unitypackage
This in the better way to organize your folders in my opinion.
WARNING: If you import an .unitypackage from a removable flash drive you will get an error

Package .unitypackage

2. Assets> RMB> Import Package> Custom Package> select the package ‘name.unitypackage’
NOTICE: .unitypackage is a sort of .zip with all resource you need inside. The contain usually is meshes, textures, materials, physic, music, scripts and so on…

3. The importing windows appears, now you need to choose what you need> ‘Import’

4. Assets> differet folders appears, for example Audio – Materials – Models – Prefabs – Textures etc…

5. Inside the folder ‘Assets’ Unity has copied all content of .unitypackage and the decompress content is organized in different folders:
– Audio
– Materials
– Models
– Prefabs
– Texture
– etc…

– Library
– ProjectSettings
– Temp

Scenes .unity

6. Inside the folder ‘Assets’ add a folder ‘_Scenes’, the underscore it is not necessary but useful to put the folder on the top of the folder list.

A Project can contain multiple Scenes

Inside a Scene you can store:
– Main Menu
– Individual Levels

In each Scene, you will place your environments, obstacles, and decorations, essentially designing and building your game in pieces.

File> Save Scene> Assets\_Scenes> give it a name example: Main> Unity will save the file Main.unity

Target Platform

It is very important setup the correct Target Platform> Web Player

7. File> Build Settings> Web Player> ‘Switch Platform’

8. File> Build Settings> Web Player> ‘Player Settings’> Inspector> Resolution 600×900

9. ‘Game’ viewport> Free Aspect> Web (600×900)> Setup the ‘Game’ viewport resolution = ‘Player Setting’ resolution

Setup Work Area

10. DRAG AND DROP windows label obver the screen to create your perfect layout

11. TOP RIGHT> LAyout> Save Layout…> give it a name, example: Space Shooter> ‘Save’

Reset GameObject

12. DRAG AND DROP a GameObject from ‘Assets’ window to ‘Hierarchy’ window

13. Hierarchy> select GameObject> Transform> RMB gear icon> Reset to reset position, rotation, scale.

Reset Camera

14. Hierarchy> select Camera> Transform> RMB gear icon> Reset to reset position, rotation, scale.

Setup Light

15. MAIN TOP MENU> Edit> Render Settings> setup ‘Ambient Light’ 0,0,0

16. MAIN TOP MENU> GameObject> Create Other> Directional – Point – Spot – Area Light etc…

Organize Hierarchy – Multiple Lights

17. MAIN TOP MENU> GameObject> Create Empty> Inspector> rename ‘Lighting’> Transform> RMB gear icon> Reset

18. Hierarchy> DRAG AND DROP all lights over ‘Lighting’ empty object

Scripts

Assets> add the folder ‘Scripts’ in the root because they are very important component in Unity.

By |Unity3D, Video Games Development|Commenti disabilitati su Unity Game Engine – Initial Setup – Folder Structure – Import New Asset

Projects and Packages – Import – Export – Save – Delete

New Project folder

1. File> New Project> Setup default for… 3D> setup a path and a name for this project (example D:\Unity\Space-Shooter-001), IMPORTANT: you have to choose a empty folder!

Inside the folder Unity has created the folders:
– Assets
– Library
– ProjectSettings
– Temp

You can add a folder ‘Package’ and copy your .unitypackage
This in the better way to organize your folders in my opinion.
WARNING: If you import an .unitypackage from a removable flash drive you will get an error

Import Package .unitypackage

2. Assets> RMB> Import Package> Custom Package> select the package ‘name.unitypackage’
NOTICE: .unitypackage is a sort of .zip with all resource you need inside. The contain usually is meshes, textures, materials, physic, music, scripts and so on…

3. The importing windows appears, now you need to choose what you need> ‘Import’

4. Assets> differet folders appears, for example Audio – Materials – Models – Prefabs – Textures etc…

5. Inside the folder ‘Assets’ Unity has copied all content of .unitypackage and the decompress content is organized in different folders:
– Audio
– Materials
– Models
– Prefabs
– Texture
– etc…

– Library
– ProjectSettings
– Temp

Export Package .unitypackage

1. Open a Project

2. Assets> Export Package…> check ‘Include Dependency’, ‘Export’

Save Projects

WARNING: Packages aren’t really intended for entire projects. To save a project you should just zip the project folder !!!

Delete Projects

Delete the Project Folder.

By |Unity3D, Video Games Development|Commenti disabilitati su Projects and Packages – Import – Export – Save – Delete