Chunky by FelipeFS
Chunky by FelipeFS
GPWiki.org
It is currently Tue Sep 30, 2014 10:10 am

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: New to programming.
PostPosted: Tue Jan 08, 2013 1:56 pm 
Rookie

Joined: Tue Jan 08, 2013 1:49 pm
Posts: 1
I'm not really sure where to post this, so forgive me if it's the wrong area.

Basically I want to learn how to do the whole programming games stuff, as a hobby/out of curiosity, but I have no idea where to start. Could any pros out there give me a few pointers, how to start learning all this, or good places/tutorials to learn?

Thank you! :thumbs


Top
 Profile  
 
 Post subject: Re: New to programming.
PostPosted: Tue Jan 08, 2013 5:45 pm 
Bit Baby

Joined: Fri Jan 04, 2013 4:28 pm
Posts: 8
I know how programming is thaught in college. In general their approach is to first thaught a little bit about computers and low level language, then begin with some language such as C, python or Java.

In the beginning they start with the very basics of variables, and control structures such as IF and ELSE. Then progress to loops and some basic structures such as arrays and matrices. The very first problems are usually "childs play", count numbers, sum numbers, etc. It's pretty much basic algebra. Then come more complex problems such as sorting numbers or counting prime numbers.

Thins such as low level assembly, compilers, optimization, performance, etc are totally ignored at this stage. In general you'll first learn basic algorithms and data structures before advancing to such topics.

Ex:

123
+
456
---
579

On paper this is done in a few seconds, but programming that with two arrays can take a long time when you are first learning what an array is...


Top
 Profile  
 
 Post subject: Re: New to programming.
PostPosted: Tue Jan 08, 2013 9:40 pm 
Grand Optimizer
User avatar

Joined: Mon Jan 17, 2005 6:01 pm
Posts: 356
Location: Canada
Hey helenbarker11,

If you're looking to learn how to start making your own games, you've come to the right place! This site is full of resources and articles for many game-programming related topics. Click here to get started.

You might consider a simple language to get started in.. everyone will probably have their own reccomendation, mine is Visual Basic. (they call it Basic for a reason). That's where I started and it worked for me. Regardless of language, the fundamentals of programming are the same - variables, loops, algorithms. For the most part, programming is really just math combined with flow chart logic.

Tutorials are great for learning a specific techique, but for a broader topic like learning an entire language I'd reccomend a good book. Your local library will likely have one. The Visual Basic IDE (programming environment) should be a free download from Microsoft's website.

Grab some reading material, tinker around with the IDE, and go from there. If you get stuck, come back here and post again! We're not goin' anywhere. :P

Hope this helps.

_________________
"None are more hopelessly enslaved than those who falsely believe they are free."
"It is no measure of health to be well adjusted to a profoundly sick society."
"Hope is the first step on the road to dissapointment." -Jonah Orion
http://tankzgame.blogspot.com


Top
 Profile  
 
 Post subject: Re: New to programming.
PostPosted: Wed Feb 06, 2013 3:49 pm 
Bytewise
User avatar

Joined: Sun Aug 05, 2012 9:32 pm
Posts: 268
I never managed to learn much from tutorials and books, they are great to teach you some specific stuff, but even then you need to experiment on your own a lot to actually understand what programming means and does. I learn like this: Picked a language (Started with Visual Basic, as Meneliki said, its called basic for a reason) and then challenged my self to do something, for example, i started building a text based game, and when i stumbled upon a problem, then i googled how to deal with it and experimented, it might look like this:

Ok, i want the game to tell me its running, how do i print text to the screen? (google answer)
Great! now what if i want to input some data and had it printed with a peace of story with it? (google answer!)
Amazing, now what if i input a number and i want to add it to a different number! (Google again... :D)
well, ok now i have numbers, like integers, but what is this "Data Types" i keep reading about (well, google data types)
Oh! so that's what data types are, wonder what can i do with all this (experiment a lot)
Now, what if i want to print out a different text if different input is provided? (Google conditions and If Else)
and so on...
you will surely be interested in Arrays, formating strings, replacing and finding in strings, conditions, logical operators (mainly AND, OR, NOT), and surely you will need Loops in a game.
after all the basics its wise to find out how to make things easier by using functions, classes, enumerators, inheritance and stuff :D

keep in mind it is a long path to becoming any good, but you will be happy about yourself every time you figure something out :D

_________________
Did you ever wonder, how time works?


Top
 Profile  
 
 Post subject: Re: New to programming.
PostPosted: Thu Feb 07, 2013 5:23 pm 
Dexterous Droid
User avatar

Joined: Wed Aug 18, 2004 7:40 pm
Posts: 3807
Location: South Africa
I like your style, Hazarth. Good advice :)

_________________
Whatever the mind can conceive and believe, it can achieve


Top
 Profile  
 
 Post subject: Re: New to programming.
PostPosted: Thu Feb 07, 2013 10:24 pm 
Bytewise
User avatar

Joined: Sun Aug 05, 2012 9:32 pm
Posts: 268
IGTHORN wrote:
I like your style, Hazarth. Good advice :)

Thanks, :) I always preferred this kind of learning over online tutorials and books, cause then you can study at your own pace and only the things you are currently interested in (which enhanced the learning speed!) :D

_________________
Did you ever wonder, how time works?


Top
 Profile  
 
 Post subject: Re: New to programming.
PostPosted: Thu Feb 07, 2013 10:36 pm 
Digerati

Joined: Thu Sep 09, 2004 1:17 pm
Posts: 1814
Location: burrowed
This is why i love intellisense. Some people say it's lazy, i think it's genious. You can figure things out without resolving to documentation. You don't waste time by looking up what that method was called, and get a better oversight of the API.

_________________
Long pork is people!

wzl's burrow


Top
 Profile  
 
 Post subject: Re: New to programming.
PostPosted: Thu Feb 07, 2013 11:49 pm 
Bytewise
User avatar

Joined: Sun Aug 05, 2012 9:32 pm
Posts: 268
weezl wrote:
This is why i love intellisense. Some people say it's lazy, i think it's genious. You can figure things out without resolving to documentation. You don't waste time by looking up what that method was called, and get a better oversight of the API.


I agree, which takes me to the next suggestion, If you are going to start learning a language, make sure you find a suitable programming environment which supports features like Intellisense, file managing and possibly have snippets if you need an example piece of code for something.

_________________
Did you ever wonder, how time works?


Top
 Profile  
 
 Post subject: Re: New to programming.
PostPosted: Fri Feb 08, 2013 3:25 am 
BANNED

Joined: Sun Jun 24, 2012 12:49 am
Posts: 504
Uh oh weezl, isn't 'intellisense' a word trademarked by Microsoft? Real people call it automatic code completion. You are not a real person. :P

Edit: And yeah, that advice was excellent, Mr... Where is the topic preview? I need to see what your name is... who are you that wrote this excellent advice? I don't remember your name :doh

But really. That might just be the best advice you can give to a beginner. I like challenges, but sometimes it's best to just commence a rapid search-for-answer routine. :D

The only issue with this technique is how the directness of the process may reduce your comprehension of important things. When novices go very far with a project using only a minimal understanding, they often only manage to churn out masses of incoherent/lacking work and be forced to give up on entire projects much sooner that they might have otherwise; it is very common to quit large first-time projects. So another guideline: start with easy goals (i.e. very very small "games" )! Yet, even with very modest goals, this heuristic involves skipping a lot of fundamental material, which can hurt new learners in the long run.

Books are still an awesome resource (or at least comprehensive & themed guides; whatever the media be).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group