I want to be a better programmer.

Non-platform specific questions.

I want to be a better programmer.

Postby Hblade » Tue Aug 23, 2011 10:39 pm

Does anyone here have any tips on how I can become a better programmer? I notice theres always some sort of bug in the game and I know theres always a way to fix it, I want to be able to program WHAT I want to program. My friend is an awesome sprite artist, and we want to make a game one day! :) So if anybody here has any ideas :D Lemme know
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: I want to be a better programmer.

Postby lcl » Wed Aug 24, 2011 11:07 am

Well, look and try to figure out other people's codes and make yourself challenges.
With challenges I mean some nice thing you'd want to do.
For example, I made a system which can print text without any text actors, I made an array which I defined all printable characters as 6 x 8 grid where 1 meant a pixel to be drawn and 0 meant empty pixel. Then just compare the string letters with the array and print the right character. That was a nice challenge to me and I learned more coding when I did it.

Also, try to write someone's code as your own version. I learned to make a typewriter effect by simply writing the exactly same code as pyrometal originally wrote. After that I spotted some things where I was able to simplify it.

Just keep coding something that challenges you and you will learn. Ask help when you need it in some really bad problem.

I wish this was at least a little helpful. :)

- lcl -
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: I want to be a better programmer.

Postby schnellboot » Wed Aug 24, 2011 11:42 am

lcl wrote:Also, try to write someone's code as your own version.

agree ^^
schnellboot
 
Posts: 819
Joined: Sat Mar 31, 2007 1:35 pm
Location: Germany
Score: 102 Give a positive score

Re: I want to be a better programmer.

Postby Jagmaster » Wed Aug 24, 2011 12:39 pm

Good advise.
schnellboot wrote:
lcl wrote:Also, try to write someone's code as your own version.

agree ^^

I gotta say, this may be the best way to learn. Just like you can't properly build a car unless you learn to take one apart and fix it, it's good to examine and dissect another code, take it apart and break it down so you can see how it works. Then, once you know how a script operates, then you can build your own script properly. I find learning easier this way quite frankly. Back in grade school, I used to play piano. It was a lot easier for me to play a song after my teacher played it and I could hear what it sounded like.

There's also people who learn purely by trail and error. You probably learn a great deal more this way, because you know every way it doesn't work. Some of the greatest inventors worked this way, and like with most problems we have, they weren't lucky enough to have a template laid out. In a way, they were creating the template. How many versions of the light bulb have been produced? People can say "I invented the florescent bulb" or "I invented the neon bulb" as far as I know, Edison's light bulb is still burning to this day. Just remember, the florescent bulb is brighter and more efficient than the first Edison bulb. :idea:
User avatar
Jagmaster
 
Posts: 875
Joined: Sun May 08, 2011 4:14 pm
Location: Not where you think.
Score: 82 Give a positive score

Re: I want to be a better programmer.

Postby Hblade » Wed Aug 24, 2011 4:02 pm

Thank you all very much :) me and my friend are currently making a castlevania game, got everything good so far, had massive problems with the rope though but I'm going to do things a bit differently now. here's a screenshot. it has almost the EXACT SAME control style as the original castlevania games for the NES. My friend is the grahpics artist, but I made the tree and the background and the music and programming xD Everything else was made by him. He's an awesome sprite artist, his first time was when I requested silver the hedgehog stuff :D And he was flawless.

datas.png
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest