So how do I start learning programming?

Started by
11 comments, last by Landshark 11 years, 2 months ago

@rileyw I think I need something more simpler to learn HTML.The website for Javascript seems fine though.Is there any other sites that can teach me?

Advertisement

The type of game I want to make is 2.5D platformer with a la Devil May Cry combat.I'm ready to spend time to learn programming it's just I still haven't found something that is 'noob' friendly tutorial.The latest supposedly beginnner Javascript tutorial video I've seen didn't explain things like why you need to tags,uppercase,why you need to skip lines,etc.I still haven't check out the links rileyw provided right now but once I do,I'll give feedback whether it's useful for me or not.

Not exactly sure what you mean by "to tags" but assuming that we are talking about HTML and that you meant "two tags" one of them is a closing tag that signifies you are done defining that particular element. Example:


<html>
  <head>
    <title>My Wonderful page!</title>
  </head>
  <body>
    My Totally awesome content!
  </body>
</html>

First just a bit of a note, HTML is read and interpreted linearly, eg top to bottom. So as such this very simple little example says to the browser (or whatever is reading this file)

"Start HTML declaration"

"Start defining the head of this document"

"Start defining the title" - My Wonderful Page - "That's it we're done with the title"

"Done defining this document's head"

"start defining the body of the document"

My Totally awesome content!

"done defining the body of this document"

"done with my HTML declaration"

If you meant something else entirely I'm sorry, just reaching a bit trying to get to answers for you. Next "uppercase", casing is just the way of the world for most languages. HTML isn't necessarily a language that enforces of fails if you use improper casing but it's just recommended that you always define the element names and attributes in lower case letters as this is the official "standard".

"Why you need to skip lines?" - You don't this is just to make it easier for you to read the code. Back to our previous example, listed below is exactly the same to a browser and will generate exactly the same output (and is no less correct).


<html><head><title>My Wonderful Page</title></head><body>My Totally awesome content!</body></html>

The only reason people spread out their code onto different lines and indent it the way they do is so that the code makes sense to them. There are numerous discussions on what a standard code format should be but it's just something the programming world will never particularly agree upon. I like my way, you like your way, the computer or browser reading our code doesn't care or make any difference between the two so when it all comes down to it format your code in a way that makes the most sense to you. In some other areas there might be some rules to abide by but in general what you place on a line and how far you indent it are all your discretion.

Dan Mayor

Professional Programmer & Hobbyist Game Developer

Seeking team for indie development opportunities, see my classifieds post

For quality tutorials, check out: http://thenewboston.org/tutorials.php

Personally I went through his javascript tutorials, then grabbed the book 'Head First Javascript' from amazon and was able to finish the book, 1 chapter per day until it was done.

Javascript (40 videos): http://thenewboston.org/list.php?cat=10

HTML5: (53 videos): http://thenewboston.org/list.php?cat=43

XHTML & CSS (46 videos): http://thenewboston.org/list.php?cat=40

I don't know what the general feeling is here on GameDev about the "Head First" books, but I am finding them very helpful in the learning process. I've completed the javascript one and am working through the C# one right now. They are very hands-on books and presented in a way that you aren't staring at a wall of text, page after page.

Book: "Head First Javascript": http://www.amazon.com/Head-First-JavaScript-Michael-Morrison/dp/0596527748/ref=sr_1_1?ie=UTF8&qid=1359607773&sr=8-1&keywords=head+first+javascript

-Landshark (Scott)

A Growing Community of Aspiring Game Developers

www.gamedev4beginners.net

This topic is closed to new replies.

Advertisement