6 Months of Learning JavaScript Game Dev in 6 Minutes
HTML-код
- Опубликовано: 31 май 2024
- In this video, we go over my 6-month journey of learning game development in JavaScript. Initially, I talk about why I decided to learn game development in the first place. Then, we dive into my reasoning for choosing Three.js over a game engine like Unity or Unreal. Finally, we take a look at the 10 game dev experiments I made in this 6 month period.
🐦 Twitter - / suboptimaleng
💻 GitHub - github.com/SuboptimalEng
🌎 Website - suboptimaleng.com
== [ Timestamps ] ==
00:00 Why Learn Game Dev?
00:43 Three.js vs Unity Game Engine
01:37 Solar System Demo
01:54 Tic-Tac-Toe Game
02:16 3D Tic-Tac-Toe Cube
02:37 3D Audio Waveform Visualizer
03:13 Naruto’s Rasengan
03:30 3D Piano
03:55 3D Wordle Clone
04:16 Rubik’s Cube
05:02 Retro Snake 3D
05:40 Frantic Architect Clone
== [ Credits ] ==
Simon Dev - / iced_coffee_dev
Caterina Zamai - www.artstation.com/zaccate
Hand Anatomy by Caterina Zamai - sketchfab.com/3d-models/hand-...
James Harness - sketchfab.com/James.Harness
CRT Monitor by James Harness - sketchfab.com/3d-models/crt-m...
Will Kwan - / _willkwan
Frantic Architect - github.com/wkwan/frantic-arch...
== [ Resources ] ==
Three.js - threejs.org
Three.js Tutorials - sbcode.net/threejs
Cannon.js - github.com/pmndrs/cannon-es
== [ Tags ] ==
#suboptimal #javascript #gamedev - Наука
As someone who just started my 3D programming journey, learning JS (and code in general), this video is inspiring as hell! Subscribed
Awesome to see more people starting to learn 3D coding in JavaScript 🙌
@@SuboptimalEng I would love some tips, because basically threejs is my goal here, and I just started learning JS.
@@plasticsamalt6633 If you just started learning JS, then I'd recommend making 2D games in HTML canvas. It's a lot easier to get started there.
Once you understand the fundmentals, you can start picking up frameworks like Three JS.
@@SuboptimalEng noted. Thanks!
Beautiful man, you're the only one who could help me, I watched 8 videos and yours was the only one that saved me
this is really cool man, makes me want to learn this as well!
You can do a lot with JS game dev! Definitely worth trying out 👀
BROTHER, YOU ARE THE BEST!!! You oooh really helped me!! THANK YOU VERY MUCH!This is cool, well done!
These are great! Makes me excited to learn threeJS
Your video was very helpful, I'm still learning and getting the hang of it still. I'm into House and EDM. I look forward to seeing more of your
Cool journey, thanks for sharing!
Hello! I just wanna say thank you for the video it did really gave me a perspective in game dev in JavaScript as I'm starting and only doing it as a hobby, but I would really like to pursue some projects of my own so this is great inspiration 👍🏼
Thanks, Valeria! A couple months ago, I was also not sure about making games in JavaScript. But now, I think it is the best decision I made 🙌
@@SuboptimalEng Yeah! This video really helped me, from now own I'm gonna give priority to game dev cause is supper interesting but also so very challenging for me
I feel the Rubik's cube is hardest among them in terms of logic
And also has a lot of potential of some unintentional amazing bugs
: P
Agreed. Sometimes, the bug is better than the code
Rubik's cube logic is probably quite simple if you understand Abstract Algebra and Group Theory. (Which I don't.)
@@andybrice2711 neither do I tho
So we're on the same page
Fantastic stuff, man!
Excellent video. Clearly explained all the basics to get started on soft soft. Thanks
Thanks Yahya!
So informative, thanks a lot!
Your actually the goat, This helped so much thank you.
Really nice and helpful... Thanks!
Awesome, man! One day I intend to dig into game development as well, just for the fun
Definitely, it's super fun to get hooked on a piece of software you wrote. Doesn't happen often to me in web development, but happens quite frequently when I make games.
@@SuboptimalEng
That's exactly how I feel, man. It's wonderful that you got to discover that feeling! And thanks for the incentive given in this video... I have much to learn from you.
Stay awesome. 🔥👊
i really apreciate your help with dowloanding this software
well understood. Thank you you are the best teacher.
Best soft soft Introduction Ever!!
Thank you very much , now I will understand the functionality
wow. thank you for the amazing video
This is really cool, Just started myself
I feel your struggle man.. love your videos as well.
The struggle of coding games in JavaScript is real, but it's worth it! Keep pushing through 💪
That "failed" cube is mesmerising.
Thanks for sharing this video.
Hope you will have success upon your path.
Thanks a bunch!
Thanks bro that was really helpful
Worked for me thank you!
Proper cache control and lazy loading is really hard to achieve in engine that doesn't target web browser as it's first priority. Though streaming 3D model is still challenging in any engine or rendering-lib
how do you get all the tutorial and samples on the left. mine doesnt have sNice tutorialt
Really helpfull tutorials. Helped a lot
the broken cube was fantastic. hope you kept it
HELP! When i put a sample into the daw, the sample slides instead of moving in steps, how can i get the sample to move in steps?
Gained a sub on this one, good shit man!
by any ans, but I can make what I envision, and that's the greatest gift to . You are, without a doubt, an expert teacher. You may
when you’re in the channel rack, click on gms to open up the gms nu, in the light blue screen on the top left look where it says
Yoo tnx dude, everytNice tutorialng works. I LIKE IT
my laptop speakers. Any suggestions on what to do to get my soft back? I recently updated. Any help would be greatly appreciated.
Dude. Thank you so much.
have. But, your tutorial was amazing and I have made a semi-decent soft. Thanks!
From any js library can we create any game like tycoon used cars game? Like car moves in (3d object), follow route, park in given slot etc??
You can make small fun games in JS, but if it is super complex then it might be better to go with Unity or Unreal.
Thank you. super program!
thanks so much man
Worked, thx
nice video man
Very cool!
BROOO THANK YOU!!!!!!!!!!!!!!!!! YOU'R THE BEST!!!!!! I LEARNED EVERYTNice tutorialNG I NEEDED TO KNOW THAN YOU VERY
such a fantastic video reccomendation
Looks like praying to the RUclips algorithm every day is finally working 🙌
The Rubik cube glitch would be a really cool loading screen
Or a retro windows screensaver
Works, thank you boy
TNice tutorials was very helpful thankyou.
In The setup what soft is that the little one
Nice tutorial. I have been having content issues with my hmdi connected speaker and subwoofer. No soft is coming through, still coming out of
I tried and it is installed thank u very much anda
So if I don't have to build games in 3 dimensions, I don't need to use threejs? I have a fair amount of experience in React/Javascript but don't know much about game development. If I have to make simple games in 2D with sound and visual effects, can you suggest me a library? How's kaboom?
I've never worked with that library so I'm not sure how it is. My recommendation would be to learn and use PixiJS.
YO YOUUURRRR ART IT BEAUTIFUL
Oh it's really works) god bless you
Nice video! I really love what you built! I will be going to start to learn the threejs. Is it that I have to be good at math before starting it?
That’s great to hear! You don’t need much math unless you want to become a shader magician.
@SuboptimalEng Really? Only the shader requires advanced math?
Depends on how complex your applications are. Most of the games I made in this video do not use math beyond trigonometry. The last game uses physics, but I imported a library to help with that.
I'm here struggling with logic. This is great. Kudos to you
Thanks, I'm sure you'll figure it out 🤓
merci beaucoup a toi :))
In The setup If the master channel is located in the top, next to the counter, then no - IT stays witNice tutorialn acceptable limits, when I play so of
Next ti, can you install one of those apps that creates a circle around your mouse pointer? Sotis it’s hard for to find where
i love the aesthetic of making things 3d for no practical reasoning but with cool lighting
Lighting is everything 💡
utilised and enjoyed wNice tutoriallst increasing in value.
Hey man awesome work was just wondering if all of this was in a website instead of a program I really want to learn Javastrip as well but I want to program a program basically and i dont want it to be in a web browser
working fine thank you
Its working man!!
That Rubik's cube would make an awesome loading 'spinner'.
Side note: I think some of the stuff you covered in the three.js tutorial (planets rotation), could help finish that rasengan model :)
I think the rasengan requires more glsl shader skills 😅
@@SuboptimalEng You’ll get it, your first attempt was really good :D
cool!
I want to put a drum in a certain ti but it automatically goes to the grid. in your video does not happen
putting in....they are only visible on the mini soft roll preview, I can’t do sNice tutorialt without seeing what notes are being played...i can’t even
thank u
thanks helpful vid
hey I want to learn too where do I start?
Good choice!
very cool
you should write a book (seriously)
subbed
Thanks Sam! I think I’d need to learn quite a bit more before writing a book.
I love your stuff
Always good to see more game devs out there! Can’t wait till “Metaverse engineer” becomes a job role 👏
@@SuboptimalEng Google&Apple&co will block such job description, definitly XD
As long there is no offical description.
I keep calling myself 🐻-Dev
(b3AR Dev alias Web3AR Dev alias Fullstack Web3 AR Blockchain/SmartContract Developer alias 🐻-Dev 😄🤷♀)
@@Skylla54 can't believe it's come to something this complicated 😂
just discovered your channel. love your content! (more than simondev 😉)
That's high praise - Simon's videos are super cool - thanks a bunch!
Incredible I will be glad if I can finish one small project in 3 months
I always set a deadline and try to get something working. It doesn't have to be perfect the first time!
GR8 IDEA TYTY
Rétro snake looks awesome!
Thanks Quantum, it's probably my favorite one as well!
Hi suboptimal Engineer, I am back, and I am still learning to code, but I am having fun doing so. I would have never imagined but picking up React and learning how to write in this library with useState and useEffect has improved my skills in writing functions, I use to suck badly. I would have never guessed by me learning React this would be the case.
Now, I would like to improve my skills in classes, and I figured can you improve your skills in JavaScript and classes and objects by making games? I was wondering by you creating games has this improved your skills in JavaScript and if so, how? Thanks for sharing your video, it inspires me.
"will learning JavaScript by making projects improve my abilities in JavaScript?" Yeah
TNice tutorials is much more simple than I thought with you explaining it. Currently half way through and I feel like I know everytNice tutorialng already lmao
Nice work. Have you tried playcanvas as well?
Keep up the great work!
Thanks! Unfortunately haven’t tried playcanvas yet.
4:23 that is not a bug, that is feature 😁. A nice one.
Nice video but there's one thing I should point out. If you know any programming language like Js for example unity is not hard. I say go for it, if you wanna get serious with gamedev a library is not an artistic tool
Unity is not hard, but running it on my computer with Chrome and VS Code is impossible 😂
@@SuboptimalEng Oh I understand. Well then there's no choice but to make your own web based game engine
@@stickguy9109 im working on one
Unity isn’t hard to use but at the same time I’m not trying to give people a portion of my money!
@@GalaxyTime5416 wat is it
That was one of the most beautiful bugs I have seen in my life
It’s not a bug, it’s a feature 😉
I think you should make the Rubik cube broken. Looked really cool
Agreed
Couldn't agree more!
actually I'm a web developer and when I woke up this this morning why not making games then i came across this vd it was really beneficial for me and now I'm gonna start my journey in game dev with three.js and I loved the piano you made it's gonna be my first project since I really love music and most of piano games are payed or not that responsive so I'll make it for all the guys that really want to learn playing the piano and the financial support is what stopping them inchaalah when I'm done I'll put an update in this comment hope me luck
super
Perfect tutorial, I just bought it and tNice tutorials helps heaps
Damn. Nice job. I realy couldn't find a proper tutorial explaining everytNice tutorialng you needed clearly but then i found tNice tutorials treasure of a video.
Very cool anna
Thanks Mahesh!
$199 bundle etc. so wNice tutorialch was is best??? ❤️❤️
Does knowing how to play softal tutorial necessary?
I’m not sure what you are asking 🤔
Bruh i feel like you have superpowers making super complicated things left and right likw it's nothing, i hope to be like you someday.
Appreciate the compliment! Though I still have a long way to go before I feel like I have superpowers 😅
@@SuboptimalEng 4 years of experience IS super powers in itself lol
Thank you for taking the ti to do tNice tutorials i know I’m gonna enjoy figuring it out
conclusions? was it worth it? what are your future plans?
Was it worth it? I think so - it helped me get started quickly. But I also realized that lots of game dev/graphics jobs require knowledge of C++ or C#. So if that's your end goal, starting like this might not be worth it for you.
Currently, I'm really interested in graphics programming so I've been learning how to write GLSL shaders. For this, you don't even need Three.js or Unity, just Shadertoy.
sotis when the sample finishes playing it will play over itself and you get tNice tutorials echo effect.
works gj
all the different elents together in a language that is universal. I've seen plenty of DAW tutorials being new, but tNice tutorials is by far the best so
Good vidio