Jump to content

  • Log In with Google      Sign In   
  • Create Account


How to start learning a programming language?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
7 replies to this topic

#1 Vashmofy   Members   -  Reputation: 107

Like
0Likes
Like

Posted 08 December 2013 - 01:58 AM

So i've read lots of posts here and i've posted before asking for advice on making games, now i choose Java as my programming language.

 

I downloaded eclipse as my JDK, i heard if you want to use Java as game develop you need other open source, where could i find it and how do i know which one i need?

 

Then how do i actually start learning this language? i've research over website and search engine, some people say copy and paste code is a good way to learn, some are not. i don't know if i should start with copying or not?

 

I am trying to start small not even making a easy game like Pong, but try to learn about coding, is there any website i can refer to? i have very very basic knowledge of C++, i read through a C++ tutorials website that teach about basic concepts, like the if-else/case that use different code to do the same result(it shown in a very detail example and explanation), is there any source i can rely on learning Java code like that? Like an explanation to what each code does. (i know there is thousands and more codes that i can't learn all of them, but at least like a little reference to newbie like me to check or learn from.)

 

Then Pong should be my next goal(first game develop for experience), almost same question as above, i know it requires knowledge of some physics, basic movements, score, and more other stuffs, but i don't know what code i use for each piece that combine for the goal. (i think if i actually learn the code from last question it should let me work through this also.) But still is there any source i can rely on for these things?



Sponsor:

#2 KingoOo   Members   -  Reputation: 118

Like
0Likes
Like

Posted 08 December 2013 - 02:53 AM

Hello , you can study java from the main site of the language or from this site : http://www.tutorialspoint.com/java/

 

or go to youtube channels you will find a great programmer over there they teach java like this guy : https://www.youtube.com/user/TheChernoProject

 

he teach java in game programming .

 

About your question "How to study java or any programming language " the best way is to study through applying what you learn that is it .

 

Good Luck .



#3 Vashmofy   Members   -  Reputation: 107

Like
0Likes
Like

Posted 08 December 2013 - 03:47 AM

Very useful site, i am learning it now and it explains very well. Thanks a lot for the info, and i am just wondering why these site not pop up when i searchrolleyes.gif



#4 v008370   Members   -  Reputation: 104

Like
0Likes
Like

Posted 09 December 2013 - 04:26 AM

There's a few decent "learn to code" type sites.  I wrote this one http://www.visualbasictutorial.net so I'm quite biased about the best, but there's plenty out there.    Don't worry too much about the language yet.  Choose something like Python, Ruby or Basic, learn the core concepts.  It's relatively straightforward to switch languages once you understand how to code.  

 

Good luck!  



#5 MikeDodgers   Members   -  Reputation: 140

Like
0Likes
Like

Posted 11 December 2013 - 10:53 PM

Always a difficult questions to answer as a lot of it can depend on the person or even the tutorials that you use.  Some languages are just easier to learn than others.  Java and C# are good starting locations, lead to C++, Visual Basic's language style makes it easier to read and the transition path from VB to C# is line for line the same even though the syntax is different.

 

A recommendation I would say is something like ActionScript3 using software like http://flixel.org/ to help provide a framework for games.  It is very C in style and can lead to Java and C# later down the track and there is a couple of really good learning sites

http://www.adobe.com/devnet/actionscript.html

 

http://www.flashdevelop.org/ is a good IDE is very visual studio in the layout. 

 

Good place to start I would say.  Plus learning programming using something like action script means that then it is easy to transition that into making a game.


Thanks
Michael

#6 ImpulseChimp   Members   -  Reputation: 136

Like
0Likes
Like

Posted 12 December 2013 - 01:13 AM

If I were you, I would start with learning the basics of how programming works. This mean the absolute basics such as loops, variables, classes, functions and so on. The site here is good for starting http://www.learnjavaonline.org/. After you understand the basics and are comfortable, start learning the deeper power of classes, extending a class, inheritance, implementing classes and more.

 

Once you understand classes a bit better you can start looking into the powerful classes/data structures provided by the java language such as ArrayLists, data trees, and all sorts of collections. You want to get to the point that you can use the java online documentation, http://docs.oracle.com/javase/7/docs/api/, to find or learn about anything you read about online. If you get to this point, you are well on your way to becoming a self reliant programmer.

 

This will prime you to get you ready for learning new game programming libraries and other peoples code. This process wont happen easily, but if you stick to it and don't cut corners, it will get easier the more you practice. Also, the internet is full of people that are willing to help as long as you show your passionate about what your doing. Hope this helps and best of luck.



#7 Nathan2222   Members   -  Reputation: -410

Like
0Likes
Like

Posted 12 December 2013 - 01:49 AM

If I were you, I would start with learning the basics of how programming works. This mean the absolute basics such as loops, variables, classes, functions and so on. The site here is good for starting http://www.learnjavaonline.org/. After you understand the basics and are comfortable, start learning the deeper power of classes, extending a class, inheritance, implementing classes and more.

Once you understand classes a bit better you can start looking into the powerful classes/data structures provided by the java language such as ArrayLists, data trees, and all sorts of collections. You want to get to the point that you can use the java online documentation, http://docs.oracle.com/javase/7/docs/api/, to find or learn about anything you read about online. If you get to this point, you are well on your way to becoming a self reliant programmer.

This will prime you to get you ready for learning new game programming libraries and other peoples code. This process wont happen easily, but if you stick to it and don't cut corners, it will get easier the more you practice. Also, the internet is full of people that are willing to help as long as you show your passionate about what your doing. Hope this helps and best of luck.


This is exactly what i'm doing but in C++. Started learning about loops (do, for, while) yersterday but i'll have to go over it again to know it without check the tutorial.
I have one question, do loops have anything to do with games and/or game engines (i think it does but i'm a noob so i'm not sure). Thanks
UNREAL ENGINE 4:
Total LOC: ~3M Lines
Total Languages: ~32
:)
--
GREAT QUOTES:
I can do ALL things through Christ - Jesus Christ
--
Logic will get you from A-Z, imagination gets you everywhere - Albert Einstein
--
The problems of the world cannot be solved by skeptics or cynics whose horizons are limited by the obvious realities. - John F. Kennedy

#8 Godmil   Members   -  Reputation: 708

Like
0Likes
Like

Posted 12 December 2013 - 02:00 AM

Loops are everywhere in programming you'll probably see them first in your main game loop ...

while(running)

{

 handleInputs();

 drawGraphics();

ect...

}






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS