I Tried Making an FPS Game in JavaScript

  Рет қаралды 136,746

SimonDev

SimonDev

Күн бұрын

Пікірлер: 273
@simondev758
@simondev758 2 жыл бұрын
Everything in the video, the effects, even the graphs and animations, were all done with GLSL shaders. Learn how to do them yourself with my course: simondev.teachable.com/p/glsl-shaders-from-scratch Support me on Patreon: www.patreon.com/simondevyt
@crowbr
@crowbr 2 жыл бұрын
nice!
@c0nsumption
@c0nsumption 2 жыл бұрын
Would you be willing to make a course around this? I’m interested in the GLSL course as well but crafting all this FPS project with an in-depth tutorial is most def something in extremely interested in. Willing to pay and all. You’re literally the only person I’m finding whose documenting three.JS experiments this in depth 🥺
@simondev758
@simondev758 2 жыл бұрын
@@c0nsumption Yep, really depends on interest. I'd be happy to make a multi-hour version available.
@c0nsumption
@c0nsumption 2 жыл бұрын
@@simondev758 👏🏽 awesome. If you end up going for it please make an announcement as I’m for sure signing up!!!
@thechanglongwang
@thechanglongwang 2 жыл бұрын
voice sounds like text to speech
@Retrofire-47
@Retrofire-47 2 жыл бұрын
this guy makes me feel like the label "beginner" is far too generous for my current skill level
@socio637
@socio637 2 жыл бұрын
yeah hes a wizard. dont be dejected though, you could be too
@somefin3322
@somefin3322 2 жыл бұрын
Do be reminded that this is probably all in many days of work, we don't see his actual process of studying to get something working. We see the process of it WORKING, not fully being worked on.
@programmingjobesch7291
@programmingjobesch7291 Жыл бұрын
You have me fully convinced I can build a "quicky" game engine from scratch in javascript to rival unreal- and I just learned how arrays work...😂
@Ecrios
@Ecrios Жыл бұрын
This is one of the few of the most impressive game design videos I've ever seen! Please, carry on! You. Are. Amazing!
@alijalloul122
@alijalloul122 3 күн бұрын
This is extremely impressive. Wish you'd have an in-depth series building this from scratch.
@SuperPicolin0
@SuperPicolin0 2 жыл бұрын
I'm amazed once again, why are you making this look so easy, like others mentioned, I would definitely pay for a detailed course on all this with threejs. Do I have to separately learn game development and threejs because the info on making games with three is very limited?
@simondev758
@simondev758 2 жыл бұрын
Possibly. Game development is it's own thing, and three.js is a nice little 3d graphics library, but if you have 3d experience, then learning three.js specifically isn't required.
@SuperPicolin0
@SuperPicolin0 2 жыл бұрын
@@simondev758 I almost figured from the wiki pages you're looking up sometimes, I should leave threejs alone for a bit and focus on actual game dev concepts first, thank you for replying and the good content you're creating for us.
@Desopolis
@Desopolis 2 жыл бұрын
I’d say use a more solid, game focused engine for a bit to learn and understand the fundamentals. It’s like learning to be a racing driver… you can go out and get a focused team and pre-built car and focus on driving, or you can buy a kit car online and build it in your garage.. Threejs serves a super wide set of use cases, so i needs to be a flexible as possible, where a game engine knows a lot of the core requirements before you’ve even start. I’d push yourself beyond any cordless game ends, “gamemaker” type things, and try at least Unity. If you want a less intense engine there’s stuff like Godot (which has more code requirements) There are good web based game engines too, Pixi and phaser will make EXCELENT 2d games and have a strong legacy and community. For 3D there’s PlayCanvas which is a game engine built on three, it does a lot of the heavy lifting for you but I’m not sure how I feel about it yet.. Lastly there’s BabylonJS which wasn’t burdened by all the outdated shit three has so support and is honestly a pretty great rendering engine. They have an excellent Node system and a good community, although pretty isolated from the rest of the JS world… TLDR: get Unity, buy the stuff you can’t figure out, and go deeper on game #2, or 3 or 4 etc…
@werrutkyupnext
@werrutkyupnext 2 жыл бұрын
damn I wanna learn javascript this is like really really hard?
@anomiedesign5030
@anomiedesign5030 7 ай бұрын
@@werrutkyupnext how is it going?
@baguette2652
@baguette2652 2 жыл бұрын
Ever since I discovered your channel, I became super motivated by your creations. Thank you for bringing such awesome content to us! 🔥
@ibingeyt6077
@ibingeyt6077 Жыл бұрын
I would title the video “I Tried Making an FPS Game in Java script”
@simondev758
@simondev758 Жыл бұрын
Done :)
@jchaloupka007
@jchaloupka007 2 жыл бұрын
Damn, that’s amazing, love it!
@ViciousViscount
@ViciousViscount 2 жыл бұрын
That's pretty much Quake III Arena. I LOVE it.
@NaiyoGames
@NaiyoGames 2 жыл бұрын
Everything sucks event me. *proceeds to create a masterpiece.*
@guccidevel
@guccidevel Жыл бұрын
bro my ass is still making black scenes with cubes 💀
@PotatoGodzilla
@PotatoGodzilla 2 жыл бұрын
I love those three js videos keep it up dude you're awesome! :)
@kosa-tv
@kosa-tv 2 жыл бұрын
Great idea dude. Like always, not disappointing content.
@paulo1940
@paulo1940 8 ай бұрын
I was quite hesitant on the artistic choice of placing random bleak large blocks on the map until you added those effects, dang those were cool!
@Ralster
@Ralster 8 ай бұрын
How did you go from having a single main.js file handling mostly everything in the first two minutes, then suddenly have an entire tree of controllers and stuff like that !?!?
@Fallen_Ninja
@Fallen_Ninja 2 жыл бұрын
Missed you bro
@oaksBFL
@oaksBFL 2 жыл бұрын
This tutorial is amazing and you are really good at teaching !! great job sir !
@oaksBFL
@oaksBFL 2 жыл бұрын
hackers in my acc i did not comment this sorry bro
@danser_theplayer01
@danser_theplayer01 3 ай бұрын
This dude made a first person viewed 3d scene in javascript AT THE VERY BEGINNING and called it *easy.*
@covenantersoldier9165
@covenantersoldier9165 Жыл бұрын
Tip of the hat top you, truly. well done. you truly are a great online tutor.
@crowbr
@crowbr 2 жыл бұрын
Nice!! Amazing work, pls make a video about customize characters, like put armor or clothes in character.
@nikkossta
@nikkossta 2 жыл бұрын
"I'm not a violent guy" "I used Doom Ethernal as inspiration". Nice
@chamonmath7688
@chamonmath7688 2 жыл бұрын
Simon dev always has great explanation while going through his process, and I always get a good laugh at some of his dialogue. Lol, stay awesome
@Mohta69
@Mohta69 2 жыл бұрын
That's dope dude
@kasali2739
@kasali2739 2 жыл бұрын
impressiv! Those spiders brought me to fresh idea for next tutorial, how is about coding on skeletal meshes? (procedural animation, equipment using local matrices of bones for position etc.) This thing can be found for unity but there is nothing for threjs out there
@swoorp
@swoorp 2 жыл бұрын
Yay it's finally out!
@loun.exXe3
@loun.exXe3 2 жыл бұрын
Awesome video! Thank you!
@rodrigofernandes6449
@rodrigofernandes6449 2 жыл бұрын
Wow. Can you make a full tutorial on this?
@minayoussef5730
@minayoussef5730 2 жыл бұрын
works, keep up the good work man
@cyrusguest4975
@cyrusguest4975 2 жыл бұрын
the way you pronounced decal makes me want to cry
@simondev758
@simondev758 2 жыл бұрын
Deckkkkkle
@srsherman7
@srsherman7 Жыл бұрын
Im going to point out and draw focus to how he canadianly says deckulls for decals... only because im jealous of how casual he makes this whole thing feel.. for real though I love watching your dev progress it's next level
@Di4Fourr
@Di4Fourr 2 жыл бұрын
hanks lot Sir.. You helping us..
@giorgijankhoteli5803
@giorgijankhoteli5803 2 жыл бұрын
damn that sky looks so amazing great job with that
@ionutrosca6326
@ionutrosca6326 2 жыл бұрын
TNice tutorials comnt from you is legendary. Uncomplicated like your video!!!
@hamsteroncoffee
@hamsteroncoffee Жыл бұрын
Woowww, this looks amazing 😍! Wish I had those skills or at least half of them 😅 - you make complicated things look so easy
@amestresys9175
@amestresys9175 2 жыл бұрын
WHAAAT A SKILL ... incredible
@korniychuk
@korniychuk 2 ай бұрын
Wow! It's incredible!!! Thanks for this example!!!
@IxZOMBxI
@IxZOMBxI 2 жыл бұрын
You are very good at explaining things. keep it up thank u
@GregoryTheGr8ster
@GregoryTheGr8ster 2 жыл бұрын
Also, I really dig your tutorials. The only downside is that I learn how far behind I am in algorithms and whatnot. That has been my problem in game development since I started.
@simondev758
@simondev758 2 жыл бұрын
Game development takes a lonngggg time to because of the breadth of knowledge required. The nice thing is, it makes it fun to learn all of it.
@GregoryTheGr8ster
@GregoryTheGr8ster 2 жыл бұрын
@@simondev758 Oh yes, modern 3D games are so much more complex than when I first started in 1989. Those games are now known as "pixel art" games. How funny!
@GregoryTheGr8ster
@GregoryTheGr8ster 2 жыл бұрын
@@simondev758 Also, did you ever see Ultima Underworld? It was the first.
@TurtleFul
@TurtleFul 2 жыл бұрын
Love your videos! Keep up the good work. Your experements are always interesting to watch. I would love to see a video about the performance difference between a JS/web based game like this and an in engine one like in Gdot or Unity.
@simondev758
@simondev758 2 жыл бұрын
That is an AWESOME idea!
@LuisCassih
@LuisCassih 2 жыл бұрын
Every time you do something it's like those Minecraft videos when they said "I did some mining off camera" and comes with an entirely new scene. Anyways, amazing video, I would like to see a more detail explanation on the skybox, looks really good.
@Variapolis
@Variapolis 2 жыл бұрын
More and more engines and frameworks for games seem to be slowly moving to CSS and HTML for UI. It's pretty neat IMO. Some examples include: CS:GO Source 2 Engine Unity's Upcoming UI Toolkit (UXML) S&Box Escape from Tarkov
@joaquindomenech7541
@joaquindomenech7541 2 жыл бұрын
Truly? On desktop apps?
@rottenapple9588
@rottenapple9588 2 жыл бұрын
That’s only two engines
@nurazizalimustofa5087
@nurazizalimustofa5087 2 жыл бұрын
Thank you man for sharing this stuff
@Skeffles
@Skeffles 2 жыл бұрын
Looks fantastic!
@d0c_dev
@d0c_dev 2 жыл бұрын
Wow you make this look easy even though it is not, got no idea how to write JS though
@cabelogold6687
@cabelogold6687 2 жыл бұрын
Very well explained!
@unicornsteroids
@unicornsteroids 2 жыл бұрын
The shaders on this video makes your course my next purchase. Amazing video!
@bruniomhars
@bruniomhars 2 жыл бұрын
Man tNice tutorials is on of the best tutorial in general on youtube. Clear, simple, constant, good to listen. Thank you for sharing.
@M.Ibrahim35874
@M.Ibrahim35874 2 жыл бұрын
Will stay tuned to your channal! Cheers!
@LikezYou
@LikezYou 2 жыл бұрын
Love your videos, keep it up! :D
@mtxar
@mtxar 2 жыл бұрын
much respect as always, :)
@TheAwesomeTrunk
@TheAwesomeTrunk 2 жыл бұрын
How cool! Good job.
@billcolak5253
@billcolak5253 2 жыл бұрын
absolutely unreal!
@davidmurphy563
@davidmurphy563 2 жыл бұрын
Ok, that was really impressive. JS did a surprisingly good job. Maybe I shouldn't be so mean to it all the time.
@Retrofire-47
@Retrofire-47 2 жыл бұрын
everyone knocks JavaScript for no reason... js can literally create Skyrim... if you had an overzealous game dev at the helm
@TopBagon
@TopBagon 2 жыл бұрын
@@Retrofire-47 so can assembly. it's just not a great choice
@Retrofire-47
@Retrofire-47 2 жыл бұрын
@@TopBagon What would be your suggestion for "high-production web" game development? WebGL/WebGPU, Canvas, something else entirely? Or do you just dislike the entire JavaScript language for game dev?
@TopBagon
@TopBagon 2 жыл бұрын
@@Retrofire-47 nah I think JS (or TS in particular) can be great for 2D web game development but it's way better to create 3D games in unity/ue5
@FaislQurishi
@FaislQurishi 9 ай бұрын
I still await the "I make a third person shooter" lol, miss your videos Simon hope life isnt getting too busy
@realfl495
@realfl495 11 ай бұрын
Let's do a game in javascript >proceeds to write shader code
@cmcdonough2
@cmcdonough2 2 жыл бұрын
Amazing content. Thanks for sharing your knowledge.
@robertocarlosfarfansanchez6111
@robertocarlosfarfansanchez6111 2 жыл бұрын
where I’d record one track of the soft and than use a second Edison to record scrubbing through the soft to mimic a wave table.
@MartinAlix
@MartinAlix 2 жыл бұрын
Great video as usual! Have you tried Rapier and React-three-fiber?
@simondev758
@simondev758 2 жыл бұрын
Nope
@StreeTraceuresvideos
@StreeTraceuresvideos Ай бұрын
Do you have tutorial how to make game like this? and you keep developing this game and create effect animation like granate?
@KamranWali
@KamranWali 2 жыл бұрын
This is super kool. Really like how you made the game and never knew using Javascript and Browser would give such detailed game. The movement looks good. The shader is spot on. Also the UI are on point. This looks like a really good game. keep it up! :)
@andrewallbright
@andrewallbright 2 жыл бұрын
Finite state machines... The every man's crude game entity AI.
@atharvkumar2564
@atharvkumar2564 2 жыл бұрын
It's cool as hell
@rakshitshetty6958
@rakshitshetty6958 Жыл бұрын
Hi Simon, in this project are you using 'FirstPersonControls' or 'PerspectiveCamera' and then listening to keyboard and mouse inputs.
@simondev758
@simondev758 Жыл бұрын
It's using the first person controls I built in my tutorial.
@rakshitshetty6958
@rakshitshetty6958 Жыл бұрын
@@simondev758 okay, got it 😁
@Vindettacon
@Vindettacon 3 ай бұрын
Great video. You mentioned sharing the repo on twitter? Either I'm looking at the wrong twitter post or it wasn't there. Would you mind sharing a link?
@godbibo
@godbibo 2 жыл бұрын
wow what a nice video !
@Alice_Longinuse
@Alice_Longinuse 2 жыл бұрын
Have you try webgpu ? You should make video about it !
@simondev758
@simondev758 2 жыл бұрын
Yeah it's 100% on my list :)
@Mister_Man
@Mister_Man 2 жыл бұрын
Do you own a VR headset by chance? Would be awesome to see what you can do with three.js + WebXR
@simondev758
@simondev758 2 жыл бұрын
I don't, but I feel like this gives me a very good excuse to buy one!
@Mohta69
@Mohta69 2 жыл бұрын
@@simondev758 haha yes
@ITR
@ITR 2 жыл бұрын
Did you try checking how many enemies shooting you could have at once? I feel like javascript would have huge performance issues in fpses since the collision checks tend to stack up, so it'd be interesting to see how well the engine does.
@simondev758
@simondev758 2 жыл бұрын
I didn't check, but I kinda doubt it'd be a big issue. The physics engine is compiled from C++ to wasm, so "most" of the speed is theoretically retained. After that, calling raycast from JS a bunch of times shouldn't be that costly.
@ITR
@ITR 2 жыл бұрын
@@simondev758 Makes sense
@spaceymen
@spaceymen 2 жыл бұрын
Excellent stuff
@andrewpozenel2931
@andrewpozenel2931 2 жыл бұрын
Where can i get this "little colored cubes changing colors" shader?? I'd like to use it in Godot and Unity
@simondev758
@simondev758 2 жыл бұрын
I'll post the whole thing to Github at some point, I typically announce it on Twitter once I've had a chance to go through and do any cleanups.
@andrewpozenel2931
@andrewpozenel2931 2 жыл бұрын
@@simondev758 Ok, thanks. will check you out on Twitter and GitHub.
@Nubbley
@Nubbley 2 жыл бұрын
im sooo thankful for blueprints lol.
@simondev758
@simondev758 2 жыл бұрын
I dabbled in UE4 a bit. Blueprints are nice but man it takes forever to do anything with them.
@DRDRE1100
@DRDRE1100 Жыл бұрын
Hey simon, nice work!! where can we find the repo?
@anthonymaacaron2313
@anthonymaacaron2313 8 ай бұрын
You just earned a sub Could you make a tutorial or share the code??
@skkylimits
@skkylimits 2 жыл бұрын
Sensei Simon. Do you have the link to the codebase? My blind eyes can't seem to find it somehow. I would love to take a look at the codebase
@simondev758
@simondev758 2 жыл бұрын
Sorry, I've been procrastinating with cleaning that up. I'll get it posted eventually, I always do, just takes me time to make myself sit down and do it. Look for me to announce on twitter.
@skkylimits
@skkylimits 2 жыл бұрын
@@simondev758 I know you will. You always deliver. Studying your code has taken my javascript to the next level and I am forever gratefull. I mean that! You are a huge inspiration. I will wait patiently for updates on your twitter ;))
@NomarRH
@NomarRH 2 жыл бұрын
@@simondev758 No importa que no este limpio, nosotros lo podemos mejorar.
@tutosrive
@tutosrive 2 жыл бұрын
thank you so much , it worked
@boot-strapper
@boot-strapper Жыл бұрын
do you think I could make a low poly multiplayer game with js? I want to recreate an old game I used to love.
@g_a_b_b_o-gabbopower5134
@g_a_b_b_o-gabbopower5134 2 жыл бұрын
willing to learn. Unless you already understand setups, then I gues sit's gonna be easier, but as a classically trained pianist I was blown
@ringosvirtualworld9027
@ringosvirtualworld9027 Ай бұрын
Excellent job 👍👍👍
@stadnikds
@stadnikds 8 ай бұрын
"The nice thing about JS is that I can do this all in HTML and CSS" - says noone and never :D
@robertonome2448
@robertonome2448 2 жыл бұрын
you sound like Saul Goodman if he was a gamedev
@jasonl9266
@jasonl9266 8 ай бұрын
With javascript you can make an online multiplayer , since it's for the web ,I'm sure it would be like a native language for such workload . Cool tutorial though!
@jorgeenriquelayibanez814
@jorgeenriquelayibanez814 2 жыл бұрын
how do i add a i downloaded to my soft soft so i can resetup it?
@WalmartVaxei
@WalmartVaxei 2 жыл бұрын
grandpa of gamedev
@simondev758
@simondev758 2 жыл бұрын
Aw man, I'm not that old yet.
@Cos3D
@Cos3D Жыл бұрын
would this game only work in a browser or also natively on pc ?
@worldbest3097
@worldbest3097 2 жыл бұрын
and could you make these games into online course? bro thx
@oxygen_uz
@oxygen_uz 2 жыл бұрын
Please make this game multiplayer or online
@lowbeats4609
@lowbeats4609 2 жыл бұрын
here any of the notes i click on. Any idea why? (I'm a beginner)
@KatsuoGinjiro
@KatsuoGinjiro 2 жыл бұрын
Can you use it to resetup s?
@buddylandry
@buddylandry 3 ай бұрын
Hello, Simondev. I do have a question. I tried loading your files from Github and I noticed that the first file you worked on in this video was First_Person_Camera.js. I tried loading the main.js file with index.html and was not able to get it to work. Did you load First_Person_Camera.js from Index.html. Thank you for your response. Cheers.
@gunawan7807
@gunawan7807 2 жыл бұрын
how can I download it on my mac? could you share
@wesleytiago4121
@wesleytiago4121 2 жыл бұрын
Worked smoothly, tysm
@drawmaster77
@drawmaster77 2 жыл бұрын
incredible.
@shimadabr
@shimadabr 2 жыл бұрын
Honestly i don't know how game dev is one of the lowest paid jobs in all the programming fields (on average), it's so hard dude! I see people doing sophisticated CRUDs earnings loads of money
@Okyo01
@Okyo01 2 жыл бұрын
thank u helped me a lot
@yresze2885
@yresze2885 2 жыл бұрын
So perfect
@rajsonu3156
@rajsonu3156 2 жыл бұрын
Oh.. these are really good
@mohsinrahman8391
@mohsinrahman8391 Жыл бұрын
Incredible
@mikaelprevitera9552
@mikaelprevitera9552 2 жыл бұрын
this is going to be great!
@sepinaco
@sepinaco 2 жыл бұрын
Awesome!! Can i find the source code?
@HadesMrDark
@HadesMrDark 2 жыл бұрын
Follow him on Twitter, he will announce when it's available.
I Tried Making a 3D MMORPG Game in JavaScript
16:48
SimonDev
Рет қаралды 605 М.
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 1,1 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Is the COST of JavaScript’s GC REALLY that high?
13:52
SimonDev
Рет қаралды 93 М.
Spatial Hash Grids & Tales from Game Development
19:08
SimonDev
Рет қаралды 122 М.
When Optimisations Work, But for the Wrong Reasons
22:19
SimonDev
Рет қаралды 1,1 МЛН
I Tried Making a 3D RPG Game in JavaScript
14:19
SimonDev
Рет қаралды 1,2 МЛН
I made an EVEN BETTER Minecraft
12:30
SimonDev
Рет қаралды 333 М.
How Big Budget AAA Games Render Bloom
13:23
SimonDev
Рет қаралды 112 М.
What is mathematical thinking actually like?
9:44
Benjamin Keep, PhD, JD
Рет қаралды 24 М.
6 Months of Learning JavaScript Game Dev in 6 Minutes
6:35
Suboptimal Engineer
Рет қаралды 128 М.
I Tried to Make Star Wars Battlefront II in JavaScript
13:32
SimonDev
Рет қаралды 122 М.
Абзал неге келді? 4.10.22
3:53
QosLike fan club
Рет қаралды 31 М.
НИКОГДА не иди на сделку с сестрой!
0:11
Даша Боровик
Рет қаралды 729 М.
Такого Корпуса для ПК нет ни у кого в России
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 847 М.
Черная Magic Mouse
0:53
Romancev768
Рет қаралды 807 М.
Pixel 7 и 7 Pro с Face ID - лучше iPhone 14 Pro!
21:12
Rozetked
Рет қаралды 457 М.