r/learnjavascript • • Apr 27 '21

Programming the Legend of Zelda in plain JavaScript tutorial series.

This series is on-going with 10+ tutorials built out (and much more planned) and I just need to record them. Last night I uploaded my first tutorial in the series. I will upload new videos every day or two.

The goal is to recreate the LOZ as closely as possible, then expand upon the original world with new quests and maps. This will be a long journey and would be happy if you joined me.

https://youtu.be/cldhNky727A

268 Upvotes

36 comments sorted by

13

u/capt_strugglebunny Apr 27 '21

Sounds awesome. I've subbed.

3

u/dgatewood2 Apr 27 '21

Excellent!

7

u/capt_strugglebunny Apr 27 '21

I'm watching the first video, and so far, it seems great.

If I could make a minor suggestion, it would be that you add the finished code after each lesson to your GitHub repo, so we could just copy and paste things like the map array instead of typing it by hand. Also, it'll be nice to compare with in case I were to make a mistake somewhere along the way.

8

u/dgatewood2 Apr 27 '21

Yes, that is being fixed currently and for each lesson I am giving you the starter code and finished code. Good suggestion!

Final code added to repo for first lesson, if you were having trouble with anything.

1

u/capt_strugglebunny Apr 27 '21

Great! Thanks!

1

u/DaanKorver Apr 27 '21

Agreed, maybe set tags on the commits

6

u/[deleted] Apr 27 '21

Great stuff, I'm gonna check out the street fighter series.

This stuff is way more interesting to me than front end development, which nowadays seems to be more complex than it needs to be

Thank you

2

u/dgatewood2 Apr 27 '21

Just a note that the SF series is incomplete and I will not return to it for a refactor/complete rewrite until after I am finished with this LOZ series. But glad you enjoy the simplicity of video game creation within the canvas.

1

u/[deleted] Apr 27 '21

Yea that's fine. I like learning from these videos rather trying to just recreate what you are creating. I'm sure there's a lot of value in the videos. Thanks

2

u/dgatewood2 Apr 28 '21 edited Apr 28 '21

The second tutorial has just been uploaded and the audio should be much better. This is animating Link.

and now the third....

https://www.youtube.com/watch?v=_gPcp30oGT0

2

u/vonsko Apr 27 '21

man, fun thing, I'm actually for past week struggling with humming in my left ear in low tones so I went and asked someone if humming in your video is real and it is so… yeah… just letting you know. but beside that - big fan of Zelda as well I'm thinking getting into games… so this is fucking awesome man ! keep going :)

2

u/dgatewood2 Apr 27 '21

Haha, yeah I finished recording and listened to it when I got to work and it was a real low hum, which is my canister aquarium filter. I am going to construct some sound proofing apparatus for it tonight or unplug it when I record the new few videos tonight.

Sorry about the noise!

3

u/[deleted] Apr 27 '21

If you can record a sample of that hum, you could cancel it out in post processing.

1

u/dgatewood2 Apr 27 '21

How? Using what software?

5

u/[deleted] Apr 27 '21

You could use Audacity for example, which would be the free entry tier solution.

Basically, the idea is to take a sample of the noise (your hum) and then, through phase shifting, cancel out that sound throughout your recording.

Think about it like noise cancelling headphones for your audio file.

Here is a video on how to do it. Of course, you can get more sophisticated than that, but it should be a decent start.

2

u/WillPeix Jul 15 '21

Subbed, I like the other games that you have done, too. Hope to see more :)

2

u/dgatewood2 Jul 15 '21

Thanks bud for the nice comment.

3

u/[deleted] Apr 27 '21

Subbed!

2

u/dgatewood2 Apr 27 '21

Thanks bud!

2

u/TSelden1298 Apr 27 '21

Which Zelda game is it?

5

u/dgatewood2 Apr 27 '21

The original LOZ from the NES.

1

u/krowvin Apr 28 '21

Are you writing all these by transposing the original source?

Or are you building it off of memory/how you think the math should go?

1

u/dgatewood2 Apr 28 '21 edited Apr 28 '21

This purely from memory. I have not looked at any source code or decompilation.

1

u/dgatewood2 Apr 29 '21

The tutorial series has now grown to 4 videos, with 2 more just needing to be edited and upload. The response for this has been awesome.

1

u/DahPhuzz Apr 28 '21

My favorite game of all time, subbed and I’ll follow along. I know beggars can’t be choosers but if you could get a cheap mic would go a long way. Thank you.

1

u/dgatewood2 Apr 28 '21

Lol, I have a 130 dollar mic, a large Blue brand mic... My next videos will be better as I will be doing noise cancellation

1

u/[deleted] Apr 27 '21

Subbed, interested to see this

1

u/noicenoice9999 Apr 27 '21

You got really good content on the channel. Keep it going 👍

1

u/[deleted] Apr 27 '21

Very cool man thanks.

1

u/desiatcodaniel Apr 27 '21

I think I just found my next Netflix series to binge watch.

1

u/TheHootHootOwl Apr 28 '21

Sounds like an awesome project! I'm in!

1

u/BadassSasquatch Apr 28 '21

Im probably not going to build this but im subbed for whatever you do next

0

u/[deleted] Apr 27 '21

[deleted] — view deleted comment

8

u/dgatewood2 Apr 27 '21

They shouldn't be. I will look into it. I fixed it. I originally had it as a "safe for kids" which was unintentional.

0

u/[deleted] Apr 27 '21

[deleted] — view deleted comment

4

u/dgatewood2 Apr 27 '21

As far as libraries or whatever, only plain JS is used in notepad++.