/*basically how all video games work: they store all their data in 3 dimensional arrays and do the math on the points to turn them into beleiveable 3d polygons. (Its called vector math and without it I wouldnt have bf3)*/
@colll78 Awesome! Im 12 and i do website in html, im not going to do game design. Just Web Design, im gunna learn Javascript, JQuery, AJAX, Apache, PHP, and maybe ASP.Net if i have time ;D
@shredder8910 Oh GOOD BOY but this s nt right time to learn this bcaz after 21 u ll start to learn this al and now try t play game with u friends then when ll u play game at the age of 25 ah ????? not possible........think n do ......by well-wisher
@colll78 This is Shenz's 5 year old Afro son .. don't listen to thesickbeat .. he is just jealous that you are smarter than him .. I give a shit ......maybe Alex doesn't but I do care
Pretty simple when you already know advanced Java. I mean, the scripting isn't all that close.. It's simpler with Javascript, but it's much easier to learn and understand.
@MysteriousStrangerxX don't worry, you'll get there too, just take one step at a time, but still though it will get harder, but that doesn't mean you should give up.
I like the your teaching pace, use of simple language, and of course clarity. Im here to 'refresh' Javascript so i can actually apply it to the fun things i do. I took js before but that was a few yrs ago. Your examples of basic array creation is just the most clearer it can get. Thanks and ill check out your other videos.
@TheMasterMind555 yes you could, but the array will still start from 0, so if you were to call name[0] where no values are in it, it will return you a null value, basically nothing. when you get into more complicated algorithms, you will have to be careful of keeping track where your array is starting from.
hope this helped! :) anyone can correct me if i am wrong.
11 yrs old and read a book on computer geeks. I like computers but knew nothin about them. I spent an hour watching utube videos to learn javascript and another 3 hrs looking up HTML. ur videos r really helpfull so PLEASE keep uploading so I can become the ULTIMATE computer geek. Package complete with a snorting laugh and glasses
@McdBzsarok If you want to get into game development in JavaScript, you should check out a tutorial about the new canvas element from HTML5. You can basically do almost everything you can also do with Flash with this new element (in combination with JavaScript.. :P)
I am 11 and I have made 4 iphone apps threw complex tutorials and books I can't understand but your tutorials are so clear. I am even trying to watch your iphone tutorials, I have no clue on objective C though!
@passwwd ok, im use to useing a game engine called game maker, so i try to find ways to make scripting easier and shorter, im still new to javascripting
I applaud your ambition. Keep at it and you will have an advantage over others of your age group and jump-start your career as a developer (if that is your goal).
You didn't mention that you can also do these examples because of the loosely typed nature of javascript:
var names=[1, 52, 23]
alert(names[1])
//result: pop-up that says "52"
var names2 = []
names2.value1 = "Successful success is successful"
alert (names2.value1)
//result: pop-up box that says Successful success is Successful
B1KMusic 4 weeks ago
this is not working
COD5252 1 month ago
@COD5252 Really? Explain your issue instead of 'this is not working'.
JScodeZ 1 month ago
@JScodeZ the title says Javascript Tutorial - 6 and i was following a series with next video Java Tutorial - 6 so i was confused
COD5252 1 month ago
Correction: Its not called a 3 dimensional array.*
vodkacannon 1 month ago
var 3dpoint = new Array()
3dpoint[0]=x
3dpoint[1]=y
3dpoint[2]=z
//or
var 3dpoint2 = new Array(x,y,z)
//sometimes one way is faster
/*basically how all video games work: they store all their data in 3 dimensional arrays and do the math on the points to turn them into beleiveable 3d polygons. (Its called vector math and without it I wouldnt have bf3)*/
vodkacannon 1 month ago
y did u swtch onto html?
SpyCat2020 1 month ago
great tutorials man
though they are a bit slow i dont think someone can be that stupid that you have to explain such basic things so thoroughly =P
MrMerlin87 1 month ago in playlist More videos from thenewboston
i am only 3 and i can now add java to the long list of programming language that i know.
lul wut
iwazerein07 1 month ago
Im 11 and i know javascript HTML css and now java! thanks you helped me learn how to code my site
jamalaron 2 months ago
@ryzanin ...That's exactly what he does later.
pixelmagic777 2 months ago
What recording software is this?
kryptonxk 2 months ago
This has been flagged as spam show
your actually wrong when you said the names have to be inside the brackets you can do it like this
var names = new Array();
names[0] = "tony";
names[1]=""mike";
names[2]="dan";
ryzanin 2 months ago
Comment removed
ryzanin 2 months ago
@colll78 Awesome! Im 12 and i do website in html, im not going to do game design. Just Web Design, im gunna learn Javascript, JQuery, AJAX, Apache, PHP, and maybe ASP.Net if i have time ;D
shredder8910 2 months ago
@shredder8910 Oh GOOD BOY but this s nt right time to learn this bcaz after 21 u ll start to learn this al and now try t play game with u friends then when ll u play game at the age of 25 ah ????? not possible........think n do ......by well-wisher
Utubewonderful 1 month ago in playlist More videos from thenewboston
@MrMusicPunk @coll78 @munayata38 No one gives a shit, assholes.
thesickbeat 3 months ago
@thesickbeat This is Shenz's 5 year old Afro son, what you said was pretty blunt ...
shenzhenprostitute 3 months ago
@shenzhenprostitute This is Shenz's 5 year old Afro son, you are wrong, I do give a shit ..
shenzhenprostitute 3 months ago
@MrMusicPunk me too
munayata38 3 months ago
how does java know what kind of variable you're using for the array?
adrian5b 3 months ago
this is fantasticooooo
FOGTALK 3 months ago
Im 15 and im creating my own game using the unity3d game engion I know
everything in javascript and c#. I also know most of html. There videos are very informative for begginers.
colll78 3 months ago
@colll78 This is Shenz's 5 year old Afro son .. don't listen to thesickbeat .. he is just jealous that you are smarter than him .. I give a shit ......maybe Alex doesn't but I do care
shenzhenprostitute 3 months ago
This has been flagged as spam show
@shenzhenprostitute No one gives a shit about you giving a shit, you 5 year old african slut.
thesickbeat 3 months ago
i was joking :)
hey, can you please make some unity3d tutorials? they use javescript and would be pretty useful to make games apps etc!
iAckeh 4 months ago
This has been flagged as spam show
I am only 42 and have found your tutorial very helpfull indead.
iAckeh 4 months ago
fuck firefox programmers
6580006247 4 months ago
I type it just as he does but it keeps outputting the first character in the array instead of the entire string
var names=new Array("this","that","those");
alert(name[1]);
this outputs an 'h' instead of 'this'
jakewebbing 4 months ago in playlist Thenewboston - JavaScript tutorials
@jakewebbing
alert (nameS[1]);
fouad796 4 months ago
@fouad796
wow it actually worked. To think that an 's' was preventing me from continuing this tutorial.
Thnx man.
jakewebbing 4 months ago
@jakewebbing As you can see alert(name[1]); would be "that" not "this" and you need a space between your commas Example of the correct way:
var names=new Array("this", "that", "those");
Plus you said "name in your alert insted of "names like for your array. I hope i helped. ;)
ashadow0309 1 month ago
This is just like a programming class... the only thing it lacks are two important things: projects and credits.
JKTCGMV13 5 months ago
@JKTCGMV13 can always set yourself you own projects:D
messi996 4 months ago
I asked my girlfriend if she would give my wiener arrays and she said "Sure baby!" and hopped right on it.
LiquorWreckedEmGood 5 months ago
You could off-put the Array's zero-based system by doing this though:
var ary = new Array ("", "infoOne", "infoTwo")
MythOfEchelon 5 months ago
Pretty simple when you already know advanced Java. I mean, the scripting isn't all that close.. It's simpler with Javascript, but it's much easier to learn and understand.
314rce 5 months ago
done with xhtml javascript now going for mother of javascript :java:...indeed mother of object oriented languages
zrt1992 6 months ago
This guy is AWESOME!
jeff28emailspam 6 months ago
Thanks!
Did tutorials are superb!
Fantastic job:
o Clear descriptions, easy to follow, useful information
o Encouraging
o Also, a refined and excellent sense of humor that helps things.
Keep up the great work!
razban01 6 months ago
olololol i use normal notepad to edit olololololol
weswii 6 months ago
This has been flagged as spam show
My Dad Knows C+++ Programming...I thought it was VERY VERY VERY HARD and btw Im 11 too ^_^ BTW SUBBED!
MysteriousStrangerxX 7 months ago
My Dad Knows C+++ Programming...I thought it was VERY VERY VERY HARD and btw Im 11 too ^_^
MysteriousStrangerxX 7 months ago
@MysteriousStrangerxX don't worry, you'll get there too, just take one step at a time, but still though it will get harder, but that doesn't mean you should give up.
Cheers!
nexusjupiter 7 months ago
Thanks, Trying to learn all the coding types. My dream is to get my masters degree and become a game coder. Thank You.
xxBlackHat 7 months ago
@xxBlackHat
You'll get there, I started with JavaScript and I'm now coding C#/XNA and making a game.
TheMasterMind555 7 months ago
just idiots dislike this vdos, change it to like suckers!
dirherrera 7 months ago
I like the your teaching pace, use of simple language, and of course clarity. Im here to 'refresh' Javascript so i can actually apply it to the fun things i do. I took js before but that was a few yrs ago. Your examples of basic array creation is just the most clearer it can get. Thanks and ill check out your other videos.
spinsurf123 8 months ago
I am only 3 and a half years old and I found your tutorial very helpfull too... *sits and waits for thumbs up for pointless comment"
Shadpulse 8 months ago 3
But, if we use the second way, we could just skip over the number 0 to simplify, couldn't we?
TheMasterMind555 8 months ago
@TheMasterMind555 yes you could, but the array will still start from 0, so if you were to call name[0] where no values are in it, it will return you a null value, basically nothing. when you get into more complicated algorithms, you will have to be careful of keeping track where your array is starting from.
hope this helped! :) anyone can correct me if i am wrong.
nexusjupiter 7 months ago
11 yrs old and read a book on computer geeks. I like computers but knew nothin about them. I spent an hour watching utube videos to learn javascript and another 3 hrs looking up HTML. ur videos r really helpfull so PLEASE keep uploading so I can become the ULTIMATE computer geek. Package complete with a snorting laugh and glasses
YoursTruelyChannel 9 months ago
awesome arrays i thought i know now super!
FOGTALK 9 months ago
im 11 and these are very helpfull!!!!!
louisjb16 9 months ago
this is best ;)
watch?v=tDGyq3-D6lc
lukaBetoveN 10 months ago
I am only 85 and have found your tutorial very helpful indeed.
Hakerpawel1 11 months ago 23
@Hakerpawel1 lol
gamersgonebad 11 months ago
I don't know about right now, but later on, just by using your tutorials could you perhaps make a video game?
McdBzsarok 1 year ago
@McdBzsarok He has done a lot of videos for Java Game Development if you wanted to check those out. Here's the first one - watch?v=hBhAWTSu104
Shortmandesigner 1 year ago
@McdBzsarok If you want to get into game development in JavaScript, you should check out a tutorial about the new canvas element from HTML5. You can basically do almost everything you can also do with Flash with this new element (in combination with JavaScript.. :P)
bartjoboy 11 months ago
I know turing is an useless program, but can anyone help me with it?
Please reply ASAP I need help before December
TheCrawler333 1 year ago
I was really confused but your video helped me understand arrays. It is easier than I thought, Thanks.
vanesscas210 1 year ago
I am 11 and I have made 4 iphone apps threw complex tutorials and books I can't understand but your tutorials are so clear. I am even trying to watch your iphone tutorials, I have no clue on objective C though!
AsianKidsPro 1 year ago
@AsianKidsPro Don't miss youre childhood
Valy18 1 year ago
@Valy18 I don't I have moved on to objective C and I am working on my 6th iphone app
AsianKidsPro 1 year ago
GOOOODLIKE
Buhhhhn 1 year ago
you seem to be very tired :)
brady0630 1 year ago 3
@altisw5 Or mafiaboy :P
SeriousScarletSpidey 1 year ago
Hm, Javascript reminds me at C++
AnewBANDareHERE 1 year ago
@AnewBANDareHERE Same here lol
aMinisculeFly 1 year ago
you are better compared to my instructor..
cybermaniac11 1 year ago
do we need JAVE on our computer???? what is dose?
dhoom472 1 year ago
It doesn't work when you change the variable "name" to "names". I thought you could name a variable anything you wanted...
d1995a3 1 year ago
@d1995a3 You can change the variable name to anything i called it car it worked.
ahmedsadias 1 year ago
@d1995a3 Did you change both variables to names?
i.e.
var names=new Array('tony','mike','dan');
alert(names[1]);
OceanicViewStudios 1 year ago
its the same as this
<script type="text/javascript">
var name1="william"
var name2="james"
document.write(name1+name2)
</script>
mms1911 1 year ago
@mms1911 :
no its not the same as this you are declaring two variables but inside the video he is declaring an array and there are three elements of that array.
passwwd 1 year ago
@passwwd ok, im use to useing a game engine called game maker, so i try to find ways to make scripting easier and shorter, im still new to javascripting
mms1911 1 year ago
@passwwd but this way is still prety easy
mms1911 1 year ago
L LOVE u lol ur just heaps mad lm learning so so so much
ComputerDistrict 1 year ago
Thanks dude
iambootyhunter 1 year ago
It took me 1 year to fully master lua by myself, took me 2 days to master this easy coding :P i made a mother's day card using arrays :D
DualKong 1 year ago
Good tutorial Indeed, Just wondering what is the text editor(IDE) this guy is using.
mindlesssingularity 1 year ago
@mindlesssingularity He's using notepad++. Pretty awesome for just about any coding...and it's free!
mudd138 1 year ago
these tutorial is awesome i learned javascript in an hour....
razorbacktube 1 year ago
Thanks very much, all of your tutorials that I have watched so far are brilliant , and I have managed to learn a lot =] thanks
Alec7890 1 year ago
Thank you bro :)
tr0628 1 year ago
thank you
londonblue2006 2 years ago
I really like your tuts, they're very easy to understand and everything is perfectly legible on the screen;
good job and keep it going THE NEWBOSTON,
woooooooooo!!!
TheFoit 2 years ago 2
jeah, I remember having the same syntax at lerning processing. It was a good refresher!
CloudStriferz 2 years ago
Great tutorial better thab big thick expensive book
omega9o 2 years ago
This is realy very good. I had always problems to learn it but here it goes like nothinh. Thanks!
Rene09091971 2 years ago
These tutorials ae fantastic!!
i have learned basic HTML and JavaScript in 2 days!
GREAT JOB!!! :D
Chavhunter123 2 years ago 70
DOOD USE CAM TASIA STUDIO IT'S CLEARER Sorry i had caps lock on
Yousitech 2 years ago
u can use array literal
slier81 2 years ago
Why do we need to type "new Array"?
If we are referencing this array a second time, do we still type "new"?
QuantumAnomaly 2 years ago
When you create a new array then you type : new Array(). Just think of it as, I want to make a completely NEW array so I type,
var names2 = new Array("name1","name2");
When you're referencing them you don't need to make a new array no.
Just use alert(names1[0]); No need for the new keyword there.
zomgpro 2 years ago
No, when reference an array it's just like any variable, just call it's name.
Also, you don't have to use "new Array();". You can just use square brackets as a shortcut:
var x = ["item1", "item2", 3, z];
or to have a blank array:
var x = [];
and you can add elements without having to refer to the index by using .push:
x.push("item1");
x.push("item2");
patrick99e99 2 years ago
Fantastic Tutorial!
thanks so much!
Phillysoul11 2 years ago
Your tutorials are 1 of the best tutorials ,
you're explanation is really clear.
AliMazrouie 3 years ago
i am 11 to im learning javascripting too it aint easy
wattledwalnut 3 years ago
Thanks a bunch
zeisan8888 3 years ago
thanks man. that was helpful
B1nd1n 3 years ago 2
I am only 11 and have found your tutorial very helpfull indead.
frodo3332 3 years ago 50
I applaud your ambition. Keep at it and you will have an advantage over others of your age group and jump-start your career as a developer (if that is your goal).
QuantumAnomaly 2 years ago
im starting this and im turing 14
good job
donkiko3000 2 years ago
@frodo3332 Yeah: It's very helpful when you're "indead" conditions.
Zombies love Java.
LightHeartBalloon 1 year ago
This has been flagged as spam show
@frodo3332
Yeah: It's very helpful when you're "indead" conditions.
Zombies love Java.
LightHeartBalloon 1 year ago
@frodo3332 i started when i was 11 i'm now 12 and know a lot of php html and a bit of js this is great
JragonLtd 1 year ago
@frodo3332 As do i young chap ;)
Lukeybabyy 1 year ago
@frodo3332 Only 11 and into PROGRAMMING
Hello Mr WillBeMrGate.
altisw5 1 year ago
@frodo3332 It's indeed. Indeed it is.
TwoDeeGhost 1 year ago
@frodo3332 in dead
lyingstudent 1 year ago
@lyingstudent i think he was saying "indeed" not that he is "in dead"
pointlessABC 1 year ago
@frodo3332 I can tell you're 11 because you can't even spell "indeed".
d1995a3 1 year ago 5
@frodo3332 you must be 13 now.. horray array!!
HawxTeamDelta 1 year ago 8
@frodo3332 Maybe you should try a spelling tutorial now ;) Nice tuts bucky! :D
iKhazModan 10 months ago
@frodo3332 im 11 to lol and these are really helpful
basketballdude138 10 months ago
@frodo3332 1) It says on your profile that you are 19... So you would have been 17 when you wrote that, not 11.
2) Indead is not, and has never been a word of the English language, so I come to the conclusion that you are "indeed" illiterate.
cssadiction 9 months ago
@frodo3332 Indeed. Your just a fucking noob if you can't even spell right then you should gtfo out away from the internet. DOUCHE!!!!!!
cACTIfARM 9 months ago
@frodo3332 indead?
Jeffreyshnigity 4 months ago
@frodo3332 haha, inDEAD. I think you meant indeed...
CtBeke 3 months ago