Upgrade to Pro — share decks privately, control downloads, hide ads and more …

droidcon Italy 2017 - UNITY 3D getting started

Cd6d1410c7e22000c7ec7943b39eed32?s=47 Massimo
April 07, 2017

droidcon Italy 2017 - UNITY 3D getting started

Slides of "From zero to play store: developing a mobile video game with Unity3D" talk @Droidcon Italy 2017
Introduction to Unity3D concepts

Cd6d1410c7e22000c7ec7943b39eed32?s=128

Massimo

April 07, 2017
Tweet

Transcript

  1. DEVELOPING A MOBILE VIDEOGAME UNITY 3D

  2. Hi I am Massimo! Student @ UNITN Intern @ Belka

    MaxFrax
  3. Student @ UNITN Intern @ Belka SENIOR Hi I am

    Massimo! MaxFrax
  4. TRICKY TRAPS ONCE I DEVELOPED A GAME, IT’S CALLED DOWNLOAD

    IT
  5. None
  6. How has been the development?

  7. Results

  8. Why unity?

  9. None
  10. Interface: project inspector

  11. Interface: scene and game view, where the magic happens

  12. Interface: hierarchy

  13. Interface: inspector

  14. GameObject

  15. GameObject

  16. 1. Inserisci il numero del volo Oppure sceglilo dalla lista

    dei voli. Transform: position, rotation, scale are relative to the parent
  17. The cube

  18. The cube

  19. The sprite

  20. The sprite

  21. Enables physics Rigidbody

  22. goes to sleep if it has linear and angular velocity

    less than the value in settings. In this mode it does not move letting the engine do less computation It starts moving after a collision or a force applied Rigidbody C O L L I S I O N S W H A A A A A A T ? ? COLLISIONS
  23. Colliders There are many available shapes: • Box Collider •

    Sphere Collider • Capsule Collider • Mesh Collider • …and more!
  24. Colliders have their own position and size

  25. Actually there is only one kind of collider Static Colliders

    Dynamic Colliders Rigidbody ❌ Rigidbody ✅ Motionless objects (rocks, walls, floors, …) Moving objects (balls, characters, …) Moving this object ✅ Moving this object
  26. Static Colliders vs Dynamic Colliders They can collide but the

    static ones won’t move

  27. Not all the collisions are the same! Physics materials to

    describe how a surface works in a collision
  28. Scripts • C# • Unity Script (similar to JS) •

    DLL
  29. When you write a script you are creating a component

    for your designer or for the designer in you! (most of the times)
  30. Scripts: component creation Monobehavior: the class that defines a component

    Gives us many methods, here the most important: • Start() • Update() • FixedUpdate()
  31. Scripts: build your own component

  32. You can retrieve other components and interact with ’em

  33. How to GIT in Unity? The 90s are over!

  34. How to GIT in Unity?

  35. How to GIT in Unity?

  36. VERSION CONTROL How to GIT in Unity?

  37. Udemy https://www.udemy.com/unitycourse/ Youtube - https://www.youtube.com/user/Unity3D Unity 3d web site https://unity3d.com/learn

    More resources MaxFrax
  38. None