Returning to Programming

Started by
11 comments, last by Orymus3 9 years, 10 months ago

Hi all,

So after a year out from programming, and the forums, I have decided to return to thing that I love!

I have been out of the loop for so long that I am effectively starting again. I want to start with a language that is easier to understand, and plug away at, than C++. It didn't work for me before, but I hope to go back to it at a later date.

I want to program, and I want to see results fast(er than C++), so I have decided to go with C#. Is this a good choice? What are good resources/books to start from the ground up. Is it worth going into XNA.

I know this sounds like a lot to ask, and I am not unfamiliar by any means with forum guidelines, but if there is any advice, I will gladly take it.

Thanks in advance for reading/replying,

Stitchs.

Advertisement

You are going to get a lot of different opinions on this one, but it really depends on what you want to do. If you are developing for the web, then PHP and JavaScript will help. Apple has a new programming language called Swift, which supposedly has the power of Objective C but the simplicity of LUA, so if you are going for mobile development, that is something to consider.

I don't know about XNA, yet.

But it pretty much depends on what you want to do. I get results almost instantaneously with the engine I use (Maratis3D, an open source game engine with Lua as a scripting language and C++ as the programming language, and major extensibility).

There is also Ruby, which is very easy. One use I know is for making plugins for Trimble Sketchup.

Hope this helps.

Edit: How could I forget Python? haha.

They call me the Tutorial Doctor.

Maybe I could have worded it better. I also know that it's quite the divisive subject.

What I want to know is, what is a safe language, to learn from the ground up, to then progress onto games programming. I kept getting into C++, making progress, falling out of touch, and then coming back feeling like having to start again. That's partly to do with my lack of practice, but the books I read and tracking memory errors/debugging really slowed down the learning process.

I have heard C#/Python/Java are all safe languages. I want to go with C# and make use of XNA later, before hitting C++ big time!

Mobile is something I want to start on, much later.

Stitchs.

C#/XNA is a decent choice. Having a framework where you can quickly get something moving on the screen is a BIG motivator. You might consider MonoGame instead of XNA. If you go that route, here are some decent tutorials:

http://rbwhitaker.wikidot.com/monogame-tutorials

You should focus on learning the fundamental concepts of programming. Variables, loops, and branching. It's boring first few steps, but they're necessary. And from those few concepts explode out the possibility of so much more.

Start small. Don't try to make your dream game first. If you don't know how to program, start REALLY SMALL. Hello world ... Ask their name/say Hi <name>! ... Guess a number game ...etc.

Do a little digging in the beginner forums and you'll see about 2 of these types of posts per page.

- Eck

EckTech Games - Games and Unity Assets I'm working on
Still Flying - My GameDev journal
The Shilwulf Dynasty - Campaign notes for my Rogue Trader RPG

Trust me, I found out a long while ago that the 'dream game' is not something to go with first. I want to start from the ground up, I just want a recent, relevant C# tutorial where I can start, and then find some projects to complete.

I will take your advice on board, thanks!

Stitchs.

Just saw your post right before mine. C# is a bit more forgiving than C++, so it C# might be a better choice for you. Some problems like memory management are handled automagically for you so you don't have to worry about it (asterisk). C# plus a framework is even better (once you have the fundamentals down) since it wraps up certain things for you in easy to use classes allowing you to actually DO something instead of just tracing through memory allocations.

(asterisk) - You still have to worry about it, but most of the "simple" cases are handled for you. This means that when a memory issue DOES creep up it's often times sneaky and hard to find. I do recommend learning C++ at some point in your programming career, but for starting out/hobby game programming I can see how C++ would be overwhelming. Maybe take some courses on C++ to force yourself to stay committed.

- Eck

EckTech Games - Games and Unity Assets I'm working on
Still Flying - My GameDev journal
The Shilwulf Dynasty - Campaign notes for my Rogue Trader RPG

I was in same boat as you OP. As a hobbyist it was frustrating doing C++ console apps and I tried to rush ahead and inevitably ended up failing. Tried again with C#, much easier to see results for the kind of things I stressed about with C++ (like just making a simple window!). That said, I am getting a bit bored of my book as I find the GUI design part tedious and would rather focus on coding so I've slowed down a lot over the last two weeks.

What book is it you are using?

I came across this series of tutorials yesterday: http://www.microsoftvirtualacademy.com/Content/ViewContent.aspx?et=7684&m=7665&ct=27107

It starts really basic, but I'm enjoying it so far, are these good tutorials? I guess they can be updated and expanded upon much quicker than waiting for a new book. Has anyone used the Virtual Academy before?

Stitchs.

Hi,

I was using Head First C# 2nd ed. I like the look of those video tutorials and it's not a medium I've tried for learning this so I'm going to give it a go.

I stressed about with C++ (like just making a simple window!).

This as an example but also in general. A language is just a language. The important part is finding, researching and leveraging existing work out there so that you do not have to reinvent the wheel (needlessly) or code so much before you get results.

I.e with C or C++ I would simply call little more than the following to create a window.


#include <GL/glut.h>
...
glutCreateWindow();

So you are probably not looking so much for an easier language but rather an easier platform (including helper libraries) to automate using your language of choice (i.e to make a game).

The simplest platforms that I know are either Flash (AS3) for 2D and Unity (UnityScript/C#/Boo/.NET) for 3D.

With C++ (if you are interested), Unreal Engine 4 is suprisingly nice to use (has good tools). (It also provides a domain specific scripting type "language" called blueprint which I dont know too much about)

XNA is not much more higher level than SDL and OpenGL so I don't know if you will enjoy working with it as much as Flash or Unity.

http://tinyurl.com/shewonyay - Thanks so much for those who voted on my GF's Competition Cosplay Entry for Cosplayzine. She won! I owe you all beers :)

Mutiny - Open-source C++ Unity re-implementation.
Defile of Eden 2 - FreeBSD and OpenBSD binaries of our latest game.

This topic is closed to new replies.

Advertisement