Skip to main content
GameDev.net gamedev.net
🔒 Locked

Where to begin?

Started by Bob Ross May 14, 2013 at 12:03 AM 1 replies 1.5k views
Original Post
Bob Ross
Bob Ross

Hello all! I was hoping to get some insight from anyone who's willing to help me out. I recently started getting into the idea of programming and although I'm new to it all, I was looking into c++ programming. I went out and bought a book and have been reading up on it the past few days. I'm surprisingly really enjoying it. However, I read c++ isn't for game logic scripting, but instead more for game engines. So is c# what I'm looking for? I've been playing around with unity as have a few friends of mine. They don't want to program which is fine because I like the idea of breathing life into something a developer designs through scripting. Is c++ useless for getting up and started? Would it just be beneficial to start with c# so I can get up and running relatively quick?(I understand I have much to learn before I'm up and running on a decent level) Or should I just keep on it with c++? I'm sure this has been posted elsewhere but I'm new to this site. Hell, I'm pretty green with everything. Thanks for taking the time to read this!

Satharis
Satharis

If you're just interested in using unity you should be learning unity scripting.

C++ works fine for game logic, other languages are usually embedded for scripting simply because there are a few advantages to it, such as:

  • Can reload game logic without having to recompile or relaunch.
  • Can develop more of an encapsulated system that shields you from a lot of the game engine work, focusing on gameplay developing functions and such.
  • Other languages may have less verbose or just more friendly syntax for scripting than C++, letting you throw together scripts faster along with the other reasons.
  • For team projects, scripting can be much more understandable to people like designers or a project lead or something, non-code people.

Granted you could make a scripting language with C++ syntax anyway, and still get some of the above benefits, other languages are just usually used because they are more friendly and may be set up for easy embedding with an interpreter already.

But all that is kind of useless info, don't learn to code unless you want to learn to code. If you just want to script then learn to script.

VladR
VladR


Would it just be beneficial to start with c# so I can get up and running relatively quick?

If, by relative, you mean an order of magnitude, then yes.


They don't want to program which is fine because I like the idea of breathing life into something a developer designs through scripting


Not everyone is born an engine programmer and that's perfectly fine. Someone [other than engine coder] has to write those scripts or the gameplay code. Unless you try out all areas, you don't really know.


Is c++ useless for getting up and started?


I'm writing it as a recent convert from C++ (10+ yrs) to C# , but At this time and age - Yes. There are way easier languages to make a career of than C++. Unless, of course, you are one of the few who - in particular - love the challenge thrown into the ring.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.