
- #Live visuals unity tutoial how to
- #Live visuals unity tutoial zip file
- #Live visuals unity tutoial full
Colliders: to make the object collide with others. Rigidbody: to add physics: gravity, velocity, etc. Script: a script for this particular object. Renderer: that contains the sprite displayed. Transform: to handle the position, rotation and scale of the object. There are lots of components available, and here's the main ones: You can add new components to objects and tweak their values. This is key to Unity: each object has some components attached to it. In this case there are 2 components: transform and sprite renderer. #Live visuals unity tutoial full
You can see that the inspector tab is now full of interesting information about the background. Select the background in the hierarchy tab. Don’t forget to move the “MainScene” into the Scenes folder.ĭrag the background image from the Textures folder to the hierarchy tab. Unity will ask you to name your scene, you can call it “MainScene”. Then drag and drop the images into the Textures folder we just created.Īnd save your scene by doing "File -> Save Scene".
#Live visuals unity tutoial zip file
Now, download this zip file containing all the images for our game.
Scenes: to store the different scenes of the game.
Prefabs: that will contain all our game’s objects. Textures: where we will store all the images. So go on the project tab and do “Create -> Folder” to create these 4 folders: To keep things organized we are going to create new folders in the project. Console: show useful debugging messages. Inspector: display information related to the selected object. Project: shows all the assets of the game: images, sounds, etc. Hierarchy: list all the objects currently on the scene. Unity's interface is divided into 6 tabs: You can easily change the layout of the interface by moving/resizing the elements. Now you should see the interface for making 2D games. Set your project's name and location, and make sure to select “2D” at the bottom. If you don't already have Unity on your computer you can download it for free. This is an introduction to Unity so you just need to have a basic understanding of programming. #Live visuals unity tutoial how to
In this tutorial we will see how to make a simple 2D space shooter in Unity and Javascript (Unityscript). If you don't know why, you should check out my article called discover the power of Unity. Unity is a great framework to build 2D and 3D games. How to Make a 2D Space Shooter in Unity - Part 1