How should I tackle programming
#1 Members - Reputation: 172
Posted 15 November 2012 - 12:06 AM
I understand the concepts of programming. Loops statements, classes, fields, methods, arrays, if-statements. Logical operators. I have a hard time putting everything together to make a functional program.
#2 Members - Reputation: 3826
Posted 15 November 2012 - 01:44 AM
Just take small steps, try to do this:
1) Make an application that displays a rectangle on the screen.
2) Make an application that displays a rectangle on the screen and allows the user to move the rectangle using the arrow keys.
3) Congratulations, you got the basics of a game going, continue to add functionality and you'll have pong, breakout, or something.
The voices in my head may not be real, but they have some good ideas!
#3 Members - Reputation: 661
Posted 15 November 2012 - 02:27 AM
#4 Members - Reputation: 383
Posted 15 November 2012 - 10:22 AM
Ha, that is what makes someone a good developer, and that every good developer is aiming.I have a hard time putting everything together to make a functional program.
On programming, reading a book about a language and its structures is easy and does not make you a programmer yet. To assemble all this knowledge in something functional is the tricky part.
So, prepare yourself to practice a lot. Create a lot of simple programs about every single topic you find: pointers, memory management, data structures (lists, stacks, trees...), classes, modifiers, etc.
Then you can start assembling this stuff together.
Still, you won't have mastered any of those fields. You will have to learn how to assemble them in a way that is not harmful for your computer: does not leak resources, does not crash, etc.
There is a movie featuring Jackie Chan and Jet Lee where JC says to his apprentice "You have to empty your cup first".
Programming is like that: when you think you mastered something (you filled your cup), you have to empty it because there is much more to learn
Edited by kuramayoko10, 15 November 2012 - 10:24 AM.
#5 Members - Reputation: 645
Posted 15 November 2012 - 10:27 AM
Bullshit...Practice makes perfect, 3-4 months is no time at all.
In 3-4 months and good determination a person can learn shitload of stuff.
I learned most of advanced c++, basic java, SDL API, sfml API in time of 6 months.
To top that all i started about 100 projects finished about 30.
And cream on top, I work 10 hours a day 20 days in month...
The reason of my success is " I just love writing/reading code! ",
That is what you really need, programing to not be dull process.I am not finding myself having a hard time learning this.
And
Art is out of the question my art skills suck
Art... Well as you stated you want to be a programmer not a artist. Download free art, give credit to artist and use it in your game... simple!
EDIT: If your don't feel confident enough to jump to a API and use it.
Try making you self a goal to make something somebody could actually use or,
A calculator that handles "Adding" in console.
then add "Subtracting"...
The point is to train how to make stuff. You will stumble on "difficulties/how to make that" and solving problems is important in programing.
After you done that, try thinking of a way to improve the code you made to make it more efficient.
Hope it helps.
Edited by BaneTrapper, 15 November 2012 - 10:36 AM.
Current projects:
The Wanderer, 2d turn based rpg style game
www.gamedev.net/topic/641117-check-up-the-wanderer/
#6 Members - Reputation: 823
Posted 15 November 2012 - 12:27 PM
At its core, computer programming is about solving problems, and that isn't something that you will develop by trying to memorize the minutia of your chosen language and design approaches without trying to apply your knowledge. I would suggest that you start working on some (very) small projects now, using what you've already learned. That will help you to cement your skills and suggest things that you can learn more about.
As you find problems that you don't already know how to solve, you can experiment or do some research on possible approaches. When you've solved the problem you'll have improved your skills and seen how programming works in practice for that situation.
I like simon's suggestions, and I would also recommend something like a text-based game interface or, if you'd like a challenge, a graphical menu interface using a library like SDL or SFML. Those projects will be very educational and will also give you some code that you can use to build a game later on.
#8 Members - Reputation: 3826
Posted 15 November 2012 - 03:21 PM
Bullshit...
Practice makes perfect, 3-4 months is no time at all.
In 3-4 months and good determination a person can learn shitload of stuff.
I learned most of advanced c++, basic java, SDL API, sfml API in time of 6 months.
To top that all i started about 100 projects finished about 30.
And cream on top, I work 10 hours a day 20 days in month...
The reason of my success is " I just love writing/reading code! ",That is what you really need, programing to not be dull process.I am not finding myself having a hard time learning this.
And
Art is out of the question my art skills suck
Art... Well as you stated you want to be a programmer not a artist. Download free art, give credit to artist and use it in your game... simple!
EDIT: If your don't feel confident enough to jump to a API and use it.
Try making you self a goal to make something somebody could actually use or,
A calculator that handles "Adding" in console.
then add "Subtracting"...
The point is to train how to make stuff. You will stumble on "difficulties/how to make that" and solving problems is important in programing.
After you done that, try thinking of a way to improve the code you made to make it more efficient.
Hope it helps.
I've been programming for 18 years, i'd say 3-4 months is pretty much nothing(at uni i had people who couldn't grasp things properly after 4 years), people learn at different paces and spend different amount of time learning (Lots of people have more than one thing that occupies their time when they're not working / going to school)
Edited by SimonForsman, 15 November 2012 - 03:26 PM.
The voices in my head may not be real, but they have some good ideas!
#9 Members - Reputation: 318
Posted 15 November 2012 - 04:17 PM
#10 Members - Reputation: 1474
Posted 15 November 2012 - 11:25 PM
I really want to learn how to make video games I don't see myself being happy doing anything other than that.
Well, Ryan, you can do only things which make you happy if you want, but let us compare programming to other challenging things:
An athlete wants to only be happy doing a sport, so no practice, no drills, no weight lifting, and definately no scrimmage for you!
A student wants to only be happy at school, so no homework, no lectures, no computer time, no library study, and also no tutoring for you!
A spouse wants to only be happy in a marriage, so no chores, no going to work, no paying the bills, and certainly no asking the better half for any favors!
Get my point?
Start with console games like Tic-Tac-Toe, crossword puzzles, mazes, and so forth. Decide that you are going to learn how to enjoy each stage of your learning, which really is a choice.
Trust me, I know from experience: Satisfaction is to be had in every phase of growth and makes it easier emotionally and intellectually - you learn better.
Looking long term, complex games will require personal maturity as well as other things, make no mistake about it - no way around it, so I urge you to rise to the challenge.
Clinton
#11 Members - Reputation: 200
Posted 17 November 2012 - 01:54 AM
GameDev programming is just another branch in programming. So you should learn it as another one. And if you start learning it on 1st year of learning the language, then you will more skilled in it on 2nd, 3rd year.
I wish to TS a good luck and be patient.
PS You do need a challenges to learn anything. There is no other way.
Edited by AlexB.hpp, 17 November 2012 - 01:58 AM.
#12 Members - Reputation: 503
Posted 17 November 2012 - 06:30 AM
Okay, its good you have stuck with programming long enough to know you enjoy it. However, there are two main ingredients required to become a confident programmer: Knowledge of your language and software development.
As you have discovered for yourself, its not too difficult to learn your chosen language, or at least well enough to write some "Hello, World" programs. You've taken care of that part and now its a case of looking up in reference books. However, your programs will grow in size and so its going to become quite challenging to keep a project under control and in a focused direction. Also, as you learn different languages, you start to realise its not so much the language you need to worry about learning, but good programming practices. Software development is something you apply to almost all languages.
Its like your language is your hammer and nails. You know you bang nails into wood using your hammer. Software development, on the other hand, is your plans for how you arrange your wood into a frame. Once you have your plans drawn up and your wood levelled into the right positions, then you can start banging nails into the wood with the hammer. LOL, I suppose the nails would your code and libraries, but lets keep it simple for now...
#13 Members - Reputation: 172
Posted 20 November 2012 - 01:31 PM
I guess it just a part of life and how my brain is wired. Going to have to put in a lot more work then the average person.I didn't do to well on my mid-term but thanks for the confidence boost guys. I know i wont be happy doing anything else in life then making games.
#14 Crossbones+ - Reputation: 1389
Posted 20 November 2012 - 08:30 PM
Get a large, well written (Easy and amusing to read), reference book.
1) Read it all the way through. Don't use the examples, don't code anything. Read the whole thing without coding.
2) Re-Read it, this time coding all the examples, doing all the practice questions, etc.
3) Start making programs in the console you think are cool. Any-time you have a problem consult your book.
This should take 3-4 months if you are really focusing (Reading the book in detail, doing ALL the examples, and writing your own console-code for at least a month.)
Then, pick a Graphics API and download the documentation.
1) Read the documentation. Remember this: Use every chapter / new thing to do something with it that wasn't in the tutorial.
2) Make knock-offs of classic game, consulting the documentation constantly. The reason you make knockoffs is so that you focus on learning programming rather than learning game design.
3) Embark on your own project! Also, remember to pre-visualize! Here's some articles I wrote to help you along the way:
Pre-Visualization is Important!
Stop the Catch-Alls!
Instant Gratification (And Why It's Important)!
Have fun!
Here's Breakout:
Breakout!
If you need some photo editing done, contact me:
superman3275@gmail.com
if you want some programming help, or are recruiting for a game development team, either PM me on here or email me up there
#15 Members - Reputation: 1474
Posted 20 November 2012 - 09:13 PM
I have no plans on giving up. Making games is what i want to do and making games is what i will do. I am just getting frustrated at school seeing other people understanding programming better then me feels disheartening.
I guess it just a part of life and how my brain is wired. Going to have to put in a lot more work then the average person.I didn't do to well on my mid-term but thanks for the confidence boost guys. I know i wont be happy doing anything else in life then making games.
Ryan,
The tenacity is exciting to me!
Let me share with you a secret which is largely unknown, forgotten, or unappreciated. Formal education with all its advantages is no indicator of your future success. I know that some academic people will condemn me for making such a statement, but history has proven it millions of times.
Albert Einstein, Eric Hartmann, Hans-Ulrich Rudel, some of the greatest in their various fields, and many a successful achiever such as musicians had nearly or completely washed from formal training or performed very lack luster early. As a matter of fact, approximately 1 of 4 billionaires were failures in classes, for example as high school or college drop-outs!
By all means, finish your education! However do not be discouraged because it is training and not the future determiner that many claim it to be. Don't let all that testing and comparing to other students be a judgement on you. Instead see it as a series of stepping stones to possible high achievment later in life when you are free to create your own research and development of games.
Your tenacity is more important than the classes. The reality of you being in school is enough proof of your future programming skills. Some people don't do too well in school because of being more complex and not because of being stupid. Your ordinary looking school performance just might actually be a sign of greatness, as many great ones have demonstrated throughout history. In time you will fulfill your control of the course of your life if you remain tenacious.
Clinton






