At Learning Friday, Friday June 16th, our colleague Cristiano Ruisi told us “Unity Basics”, showing us how to create one of the most famous video games in the world: Arkanoid.
Developed especially in recent years, after the acquisition of Microsoft, that made it free, Unity3D, or simply Unity, is the most used video game development engine in the world.
The Unity development environment runs on both Microsoft Windows and MacOS and the games which produces can be run on different platforms, including: Windows, Mac, Linux, Xbox 360, PlayStation 3, PlayStation Vita, Wii, iPad, iPhone, Android and Playstation 4, Xbox One and Wii U.
Unity is an Integrated Development Environment which has interesting features: object hierarchy, visual editor, detailed property viewer and live preview of the game, as well as the ability to develop on different platforms as said.
Also, we include some basic information and suggestions, to keep in mind, that Cristiano gave us before we started our work:
- on Unity whatever is an object and every object manages its life cycle;
- it’s essential to choose the platform on which you want to develop from now on: long lines of code would be too expensive and would not be good for mobile devices (putting your hands on codes once written and the work has advanced is not advisable);
- games have two update cycles: graph (every X second – related to computer performance); fixed update (guaranteed at constant intervals). After each update, you must verify that the actual updates do not conflict with each other;
- choose whether to develop in 3D, then with prospective perspective (the classic), or in 2D, then with orthogonal view (top, flat);
- in the free version you can not save the modifiers in #GAME mode, but only in #SCENE!
That being said, you just have to “pull on your sleeves” and enter in the magical and articulated world of Unity!