Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

I am new and complety confused.

Discussion in '2D' started by mukesh120, Sep 3, 2016.

  1. mukesh120

    mukesh120

    Joined:
    Sep 3, 2016
    Posts:
    6
    Hello everyone,
    firstly i would like to tell you that i aged 16 and for sure i want to make my first 2d game till july 2017... So is it possible to do it at this age........Secondly i want to make a good graphics 2d game so at first i used corona sdk for atleast 12 days and its frustrating as everything we have to set us by coding even for background but then also i learned a lot of codes........but then Now i know that i was foolish that i used corona so now i moved to unity and believe me its really good but i am completly confused because :-
    1. I am new to coding an C# is quite difficult for me(and corona need lua)
    2. Here in unity there are lottttsssssss of features so i am completly confused to where to start with. I mean there are hundreds of features and other things
    3. I noticed that we can add a component called collider which senses collision but after that why we have to write codes on that


    Sorry guys if you dont understood but in simple words i want to say that i am a complete beginner with zero experience in C# and want to built a 2d game in unity...........So any suggestions please give it to me like for learning codes and for learning about features......Thanx waiting for reply
     
    Last edited: Sep 3, 2016
  2. dworm

    dworm

    Joined:
    Jun 17, 2015
    Posts:
    74
    first learn c# it is gonna be useful for everything, once you have a foundation of C# get back to unity and apply your knowledge there
     
  3. imaginaryhuman

    imaginaryhuman

    Joined:
    Mar 21, 2010
    Posts:
    5,834
    UnityScript is a bit easier than C# for some people, you might try that first.

    Maybe look at some tutorials. There are lots on youtube etc.
     
    mukesh120 likes this.
  4. imaginaryhuman

    imaginaryhuman

    Joined:
    Mar 21, 2010
    Posts:
    5,834
    and make sure to look at Unity's "learn" area... from the homepage.
     
    mukesh120 and JayJennings like this.
  5. JayJennings

    JayJennings

    Joined:
    Jun 24, 2013
    Posts:
    184
    I've published games using both Corona SDK and Unity -- if you're new and want to target 2D, Corona is by far the best way to go. No, they have no drag and drop graphical layout tool, but the coding API is designed for ease-of-use (and hits the mark). And Lua is *far* simpler to get fluent in than C#.

    If you're going to stay with Unity, I'll disagree with two of the suggestions above:
    1. Learn C# first. No, because that's boring. Learn the language while you're learning the API. Make something fun (but very simple) to discover the language and API.
    2. Look at using UnityScript. No, because while it is a bit "friendlier" than C#, just bite the bullet and learn C# from the beginning. You'll be glad later because *SO* many of the tutorials use C# (including the ones from Unity themselves).

    The last game I published was done in Unity -- the one I'm working on now is being done with Corona. They're both great tools, but the learning curve for Unity is *much* steeper than with Corona.

    Good luck.

    Jay
     
    mukesh120 likes this.
  6. LiterallyJeff

    LiterallyJeff

    Joined:
    Jan 21, 2015
    Posts:
    2,802
    I second learning C# in tandem with making something. Start a very simple project and learn as you go. If anything stumps you or becomes too complex, ask a question in the forums or move on to a different aspect of your game.

    If you know absolutely nothing yet, start with tutorials. Here's some tutorials from Unity about 2D game making. YouTube is also packed with tutorials about C# for 2D games. 3D tutorials can also help you with 2D game development, so don't limit yourself just to things labeled 2D.

    To answer your question about Collider, you add the collider component so that your object can sense collisions and react with the physics system. It will work without any code and stop objects from moving through it. The reason you would add code is to give it additional behavior. Unity provides coded events that execute when things happen to the collider, and you can write code that will run when those events are fired. For example, if you want it your object to take damage when it collides, you can write the function OnCollisionEnter2D, and subtract from health in that function, or change the color of the object, etc. Unity looks for this special function name and will run it when the 2D collider first touches another collider. There is also an OnCollisionExit2D for detecting when colliders stop touching, and OnCollisionStay2D for detecting if they are staying in contact each frame.

    There are lots of functions that Unity will automatically run at certain times if you give them the right name, which you will see in every tutorial. Some of those include "Awake, Start, Update" just to name a few. They all are events that happen at certain points in time, and are very useful for giving your object behavior.

    The key thing to remember is that there are MANY ways to code anything. Everyone could have a different preference for coding. So it's up to you to learn as much as you can so you can decide for yourself which way you prefer.

    C# can seem difficult and confusing, and possibly overwhelming at first, but take it one step at a time, and as you learn more of it you will start to understand the logic behind it and why it is written the way it is.

    Please take it from me, as I learned C# through making games in Unity. It just takes patience, most of all with yourself. You will not learn this all quickly. You will find concepts that take you awhile to understand. Don't be discouraged, it usually just takes the right example or explanation to make it click.

    Starting at 16 gives you a huge advantage. You have tons of free time to learn!

    The forums are here for you to ask questions, so feel free to do so.
     
    Last edited: Sep 6, 2016
    mukesh120 likes this.
  7. PeaceLaced

    PeaceLaced

    Joined:
    Jun 2, 2015
    Posts:
    53
    mukesh120 likes this.
  8. MelonBurrito

    MelonBurrito

    Joined:
    Sep 7, 2015
    Posts:
    11
    If confused then learn!

    I would say take some time to also learn from some arts tutorials, both from traditional arts and from media arts. Learn the principals of arts and the software you can use to exemplify it for the graphics.
    Learn programming as a separate thing. Try to not think of both of them at the same time while you're thinking of your game. It's maddening. Learn your limitations in both disciplines and show your best! And then grow and learn and improv all over again and again and again forever and ever.
     
    mukesh120 likes this.
  9. mukesh120

    mukesh120

    Joined:
    Sep 3, 2016
    Posts:
    6
    You are seriously inspiring Thanku
     
  10. mukesh120

    mukesh120

    Joined:
    Sep 3, 2016
    Posts:
    6
    Thankuuuuuuuuuuuuuuuuuuu i just want to say you thank for
    1. Writing a whole lot of thing for me and
    2. To make me inspiring
    3. For everything :) that make me feel like you all are with me!
    But after a lot of thinking i thought to make a 2d game with multiplayer mode in which two devices can be connect through lan(wifi and hotspot).....The better example for this is to try out a game name (Mini militia )....This game does the same thing but i dont understand how to make this type of connections and moreover my question is that is there a way to connect two devices using lan which have different operatings (apple and android) or is it only android with android and apple with apple!??
     
    LiterallyJeff likes this.
  11. PeaceLaced

    PeaceLaced

    Joined:
    Jun 2, 2015
    Posts:
    53
  12. LiterallyJeff

    LiterallyJeff

    Joined:
    Jan 21, 2015
    Posts:
    2,802
    Unity is capable of connecting two devices on the same local area network, cross-platform. However, I would recommend starting with a single player game, or offline local multiplayer (one device, couch coop style). Networked multiplayer will complicate your project by orders of magnitude, and is not the most user-friendly thing to set up in Unity right now.
     
    Last edited: Sep 13, 2016