r/learnjavascript • u/frank0117 • Apr 23 '21
I'm making a new series about vanilla JavaScript game development for beginners
5
u/ex-igne-vita Apr 23 '21
Is it actually “vanilla” or are you using phaser or something. I’d love to read a tutorial about physics engines and stuff but it seems like people say “vanilla” and then list a dozen libraries they’re using.
11
u/frank0117 Apr 23 '21
I use only vanilla JS, no libraries. I already made many gamedev tutorials, mostly spaghetti code so beginners can follow. I'm planning to do more advanced design patterns next.
10
u/frank0117 Apr 23 '21
If somebody says vanilla and then use a library, they don't know what vanilla means :D
3
u/ex-igne-vita Apr 23 '21
yeah. it's a problem. i think people just think vanilla means "no jquery." cus jquery's in everything. or at least it used to be. 10 years ago people be like "i lost 10lbs with the jquery diet plugin" ..this looks interesting though will check it out for sure.
0
Apr 23 '21
[deleted]
2
u/pantherstoner Apr 23 '21
No, that's his card's pin
3
u/frank0117 Apr 23 '21
haha, it's a significant date for me, well done for noticing. It's not my pin or my birthday though hehe
jQuery is gone now, they dropped it from everything, even Bootstrap, but in my company we still use it in some legacy code. If you know vanilla jQuery is quite simple to understand I think
5
u/ex-igne-vita Apr 23 '21
Aw my birthday is a significant date for you? You’re so sweet 🥲 now I’m definitely gonna check out your series
3
u/elementIdentity Apr 23 '21
Thanks for sharing, I’ll be following this!
I really liked the way you did your audio visualizer tutorial. That’s the kind of deep explanation we need more of IMO. The “why” of doing certain things is so key but seems to be glossed over in many tutorials.
3
u/frank0117 Apr 23 '21
Great feedback, I will try to remember and do it more often, thank you for taking the time to let me know
3
2
2
u/evilsniperxv Apr 24 '21
Like others, I love this! Thank you and please finish the series. So many JS game dev creators start a series and then never finish!
2
u/frank0117 Apr 24 '21
You are right. Unfinished series can be frustrating. My videos are kinda standalone. It is a series but by the end of each video there is a self contained project that demonstrates the technique we were focusing on. I'm still trying to come up with a good tutorial format
1
u/gniziemazity Apr 24 '21
How long will the series be?
1
u/frank0117 Apr 24 '21
3 - 7 episodes, depending on how many ideas I will get along the way. The final game is still work in progress :D
1
1
1
1
Apr 24 '21
[removed] — view removed comment
2
u/frank0117 Apr 24 '21
Hi Gabriel, canvas is not that difficult. Especially if you know JS. I made canvas crash course and I cover most of canvas in 50 minutes and build advanced effect at the same time. Give it a try. Its a replacement for Flash and it can do a LOT of things these days :)
You can also make JS games without canvas using DOM manipulation, but animating divs is not efficient of performance, as you most likely know. You can't make particle effects with DOM manipulation, but canvas is great for it.
17
u/frank0117 Apr 23 '21
First part focuses on 2 different sprite animation techniques, next part will be deep dive on parallax backgrounds
https://youtu.be/CY0HE277IBM