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. Dismiss Notice

Write FPS Game in C++ and learn C++

Discussion in 'Windows' started by FPSUsername, Aug 13, 2014.

  1. FPSUsername

    FPSUsername

    Joined:
    Aug 12, 2014
    Posts:
    5
    I don't have much time left till I can sign in to NHTV school as Game Programmer.

    They Require basic C++ skills, as portfolio I need to make a single player game and do a 15 minute test there where I correct a C++ Code to get approved.

    I don't have any skills in C++ (only a bit in JavaScript, a little bit in lua, a lot in HTML5 and CSS, but those languages aren't needed there)

    I took a quick look at the unity tutorials, but don't know where to start learning from 0 like I did with HTML5.

    Are there any good tutorials where I can learn C++ from scratch?

    As the single player game, I want to make a FPS game, but it has to be written in C++ (and I must understand what I write).
    Any idea how I can start with this?
     
  2. SolitudeSA

    SolitudeSA

    Joined:
    Sep 7, 2012
    Posts:
    73
    You will have to look elsewhere to create games in C++. Unity supports C# as one of its scripting languages but not C++.

    Unreal Engine 4 makes use of C++. For a FPS using C++ it will probably be your best bet.

    I would advise learning C++ on its own before trying to use it straight away in a game though. Best is to buy a book or to google something like "C++ tutorials" and then to follow the tutorials.
     
  3. FPSUsername

    FPSUsername

    Joined:
    Aug 12, 2014
    Posts:
    5
    Wait, I don't get it.
    NHTV (a school) uses Unity 3D and codes in C++. You say that Unity doesn't support C++ and that makes me confused.

    I've asked (just to be sure) NHTV what engine they use, waiting for their answer.
     
  4. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,627
    You can write native plugins for Unity in C++.
    But C++ is not supported as scripting language. You can do your game scripting in C#, UnityScript or Boo and move a lot of your game to native plugins written in C++, but for learning purposes that would be very inconvenient as you'd be overcomplicating things so it would be hard to know, whether it's a bug with plugin in general or with your C++ code.
    I'd recommend you learn C++ as a language on it's own, without using any engine or framework etc.