How to code
How to code
Hi, I was wondering of someone could help me learn to code? I don't mean sitting at the. Imputed for hours trying to teach, like links and stuff. I have been interested I learning to code for a a while now and can't figure it out. So I was wondering of someone. Luke give some basic tips on how to code?
Video editor. GFX artist. Intro designer. *Pic coming soon* Also follow me on twitter- @Delux_kingzz
- Milo_Windby
- Retired
- Posts: 2274
- Joined: 06 Nov 2010, 15:18
- Location: Canada, British Columbia
Re: How to code
Learn how to code.
Being serious though... google...
Being Extra Serious (we must go deeper...) I did take a look at the google for "Learn how to code"
Now I don't know how to code... but the first page I saw was "Learn to code | Codecademy" and google says "Codecademy is the easiest way to learn how to code. It's interactive, fun, and you can do it with your friends."
so I clicked it and the site looks good.
http://www.codecademy.com/#!/exercises/0
And as a side note I know that the coders we have on staff will tell you to read read and read, they might have a wiki or something you can use perhaps... but they will tell you to do as much reading as you can.
Being serious though... google...
Being Extra Serious (we must go deeper...) I did take a look at the google for "Learn how to code"
Now I don't know how to code... but the first page I saw was "Learn to code | Codecademy" and google says "Codecademy is the easiest way to learn how to code. It's interactive, fun, and you can do it with your friends."
so I clicked it and the site looks good.
http://www.codecademy.com/#!/exercises/0
And as a side note I know that the coders we have on staff will tell you to read read and read, they might have a wiki or something you can use perhaps... but they will tell you to do as much reading as you can.
Ferengi Rules of Acquisition wrote:#40. If you see profit on a journey, take it
<3Milo's Catnip Fund<3
Re: How to code
You said you wanted to learn how to code plugins for Minecraft. This requires Java knowledge. Knowing that, I'm sure you can google "how to learn Java" now and be all set.
Re: How to code
Something easier to do, for getting familiar with Minecraft in general, find a tutorial on
making a Minecraft mod. If should have instructions on installing Java JDK, Eclipse, and MCP.
MCP = Minecraft coder pack.
Once you have MC decompiled you can explore its source. :O
Then, when you see all of the classes inside of eclipse, GuiIngame, EntityClientPlayerMP, Entity, EntityPlayer, Block, PlayerControllerMP, and all of the Packet classes will probably be the most interesting/easiest to understand/look at.
Unless you're making a super-in-depth Mod, general programming/java syntax is about all required.
Take a look at my signature, all it's doing is saying if the players username is not equal to the string smeelo, it shuts down Minecraft.
making a Minecraft mod. If should have instructions on installing Java JDK, Eclipse, and MCP.
MCP = Minecraft coder pack.
Once you have MC decompiled you can explore its source. :O
Then, when you see all of the classes inside of eclipse, GuiIngame, EntityClientPlayerMP, Entity, EntityPlayer, Block, PlayerControllerMP, and all of the Packet classes will probably be the most interesting/easiest to understand/look at.
Unless you're making a super-in-depth Mod, general programming/java syntax is about all required.
Take a look at my signature, all it's doing is saying if the players username is not equal to the string smeelo, it shuts down Minecraft.
Re: How to code
Do you know simple scripting languages? Something like HTML and then javascript are easy to start with.
Your also a donator, so you have access to tekkit, and as such LUA ingame coding, which is pretty easy.
HTML = http://www.w3schools.com/html/default.asp
Javascript = http://www.w3schools.com/js/default.asp
LUA = http://www.phailed.me/2011/02/learn-lua-the-hard-way-1/
These should give you something relatively easy to take a look at, others may want to add their own links to sites for these or other languages.
Your also a donator, so you have access to tekkit, and as such LUA ingame coding, which is pretty easy.
HTML = http://www.w3schools.com/html/default.asp
Javascript = http://www.w3schools.com/js/default.asp
LUA = http://www.phailed.me/2011/02/learn-lua-the-hard-way-1/
These should give you something relatively easy to take a look at, others may want to add their own links to sites for these or other languages.
Re: How to code
Honestly, it depends what you want to code in the end. I code general java and bukkit plugins, to do that I read/watched some tutorials all over the net, and here I am. But the most important tip is don't give up; when it seems you can't code something, leave it for half an hour, then try again. Also, a great way to learn is from example - reading other peoples' code; however the problem with that - if you don't understand the code then there's not much point in it.
Re: How to code
Some people think in pictures, others think in words. I think in pictures with subtitles.
Quotes from cool people I've met over the years:
sobamushi "Maykxor your avatar makes me wanna dance ._.! "
MissKatieKillU: "WHAT THE F***ING F*** IS GOING ON IN MY F***ING ROLEPLAY?"
"I think you may have problems, my friend."
Sole ScuroThis: "This is the part where you scream sexual slurs in my face and I belt you."
Quotes from cool people I've met over the years:
sobamushi "Maykxor your avatar makes me wanna dance ._.! "
MissKatieKillU: "WHAT THE F***ING F*** IS GOING ON IN MY F***ING ROLEPLAY?"
"I think you may have problems, my friend."
Sole ScuroThis: "This is the part where you scream sexual slurs in my face and I belt you."
Who is online
Users browsing this forum: No registered users and 12 guests