![]() Let's just say that some things are difficult to accomplish in Unity compared to other 2D game engines, but they're all still possible. If you've read any of my writing about game engines, you've heard me whinge about Unity's 2D support being shoehorned into a 3D environment, and about how difficult it can be to locate the tools you need to get your work done. You can click over to the game tab to see what your game actually looks like when played (and play it by hitting the "play" button), or check out the Asset Store from the safety of your Unity client. The rest of the real estate within the editor is taken up by the scene itself (4), which is where you'll build your game world, drop in objects and triggers, and go about your game designing. But if you've made a player character that has a a sprite attached, along with an animation controller, rigidbody2d to manage physics, collider2d to manage collisions, and a script to manage user input and interactivity, all of these will appear in the inspector for you to tinker with. If you've created an empty game object, for example, there won't be much there. These details will depend on what kind of object you've clicked, and what you've attached to that game object. When clicking on a game object, either in the hierarchy or project tab, you'll be greeted with more details in the inspector (3). You can also click over to the console tab if you've instructed Unity to log stuff under circumstances that you dictate. One best practice, for example, is to collect all of your assets in one folder, animations in another, scripts in yet another, and so forth. You'll want to keep organized in your project tab (2), which acts as a file system that you can structure as you see fit. With it, you can nest objects under others, manage your cameras and canvasses, and navigate through all of the game objects you've created. Unity has a relatively steep learning curve, and if you can come to it with some basic proficiency with C#, you'll have an easier onboarding experience.Ī lot of your time will be spent in the hierarchy (1), which allows you to keep track of all of your game objects in a given "scene," which is a specific portion of your game (like your "Start" menu or a particular game world in your platformer). Moreover, if you don't already have some experience working in C#, I highly recommend doing some tutorials using Microsoft's. On first glance, Unity's editor will look familiar if you've used another "all-in-one" game engine, but if it's your initial entrée into game development, it might be overwhelming. In this overview, we'll be using the Warped City Unity Assets Pack by Ansimuz. If you're considering Unity among other 2D game engines, take a look at this article for some options.Īnd if you'd prefer a visual tour of Unity, check out this video instead (28 minute watch): In this article, I'll give you a tour of Unity's 2D features with an overview of what tools you'll need to create a platformer - or any kind of 2D game - and where to find them in the editor! Dipping your toe into Unity's editor can be overwhelming if you haven't had a good overview of where all of the tools live, particularly if it's also your first time using C# to write scripts. Reading the code, I see this: if(col.If you're shopping around for a 2D game engine, you've undoubtedly come across Unity. I followed the tutorial of Fredrik and this is what I got. ![]() I add that I know Java and a bit of JavaScript. Preferable from something simple and complicate the work as I become more practical, am I right? I do not know where to start, I don't think it makes sense to start with something complicated then do not understand anything and copy only. This is what I imagine as the first level, is really simple (and ugly): I would love to create something very easy as point to understand the program basics and then try to put something more complicated made by me. (I have also seen other tutorials but I can't put in additional links). ![]() I searched the internet and I found a more complicated tutorial of what I need.įor example, I saw this but its goal is more ambitious than mine ![]() I know very little Unity and would like to create a platform 2D game very simple, just using the basic shapes (squares, rectangles, circles, etc.).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |