New to Overclock.net
Join Date: Jun 2018
Location: Hendersonville, NC
I wouldn't recommend starting in C... It can be a difficult language to read when you first start as it is a lower level language - I'd recommend something higher such as Java which has been suggested or even higher such as Lua or Python...
I say Python because its very powerful, its easy to write code, there are a lot of libraries available so you can create cross-platform applications quickly and with very little code... It does introduce a few bad habits though, namely scope isn't as strictly as enforced as many other languages which is something I hate about it...
I suggest Lua because you asked for something fun, so I'd say go with Garry's Mod which is a game / sandbox and it uses a modified version of Lua ( GMod Lua which uses C Style operators, but you can still use Lua vanilla operators, etc.. plus continue in loops so instead of x and y you can use x && y )... I have written over 500 tutorials in GMod Lua which I offer to anyone that adds me on steam and asks for help - I tutor for free as it helps me battle depression of having a broken neck, back and severe nerve damage.
It can be fun to create game-modes, objects in a game, etc.. and the nice thing with Garry's Mod is as soon as you save the file, the files are refreshed so you get INSTANT feedback on what you just worked on and are able to see the result immediately.... This is one of the biggest benefits - there's no compile button to press, nothing else to do other than code and click save and see the changes happening in the game..
It does require a bit of work to setup - ie download the game through Steam, then set up SRCDS ( best way to test games, etc.. as proper realms are used which are client and server which are 100% isolated except for the ability to network data between them, there is a shared realm too but that just means the code is included on client and server but they're still separate ), download a few maps, and play around...
You can start small from editing weapon files in TTT, to adding new items to use in the game by copying others and changing the effects, to creating your own weapons, items, etc... and beyond... You really can build up your knowledge while jumping right in and playing around and getting comfortable with the language... It is amongst my top picks for first language to learn as it treats scope properly, it has a loose data-type variable definitions system, so it has data-types but you don't need to specify what a variable will contain and one of the reasons for this is everything in Lua is stored in tables and because of this the table operations are also incredibly fast for indexing any type of value as a key... There are special tables which can be cloned and behave quite similar to objects but a bit of extra code is required if you want full inheritance to work.... But with all of these things included, it is powerful but it is also very friendly and easy to get to know while instilling confidence because you can immediately see progress when you save a file... I love teaching it and I love using it to teach more advanced models such as using Big O to give you a rough idea of how costly your code is to run but also giving you the tools you need to go through an examine it in a more thorough manner .. optimization, which is also very important for game programming as you can feel slow code in gameplay... and important skill-sets required if you want to be an excellent programmer / developer such as how to debug, how to debug even faster by using a code standard, how to recognize code standards used by companies to easily jump in and emulate that standard ( something required if you want to work in a team otherwise code looks like it was written by hundreds of people instead of a single person or well-oiled team ), and more... I have close to 3 decades of expertise in dozens of languages.
Last edited by Acecool; 07-02-2018 at 04:12 PM.