Hey frank.. I actually wanna share some of my codes with u so how can i?... Btw amazing video 👌👌👌
@Frankslaboratory6 ай бұрын
You can email me, I respond to all email but it might take me a while
@atandatosinpeter4273 ай бұрын
I made it! One concern, though, is that, I have to set eventInterval in game class to 120 to work smoothly on devices of 2GB RAM which makes the snakes' movement faster than I want. Is there a way to fix this?
@silentworldsound4 ай бұрын
wow, this video is very helpfull for learning js, can you please make bubble shoter game in js?
@Radu6 ай бұрын
Amazing how you are able to teach such polished projects. I don't have the patience... Are you doing these for your actual work or just to teach on KZbin?
@Frankslaboratory6 ай бұрын
Your projects are even more elaborare. I cant even imagine how much work you put into your last course. I do it just do it for fun. I need to find a job where they would pay me for these haha
@Radu6 ай бұрын
@@Frankslaboratory some of my code-bases are quite big, but the end result doesn't really look like an 'end-product' in any of them. I mostly focus on the learning experience.
@M4rt1nX6 ай бұрын
Omg, I love this. Thank you Frank!! When you read AI you think on big models, but it is always a joy to know that we build custom AIs for the projects. I'm very happy as well that you are implementing more user menus and UI in the projects.
@Frankslaboratory6 ай бұрын
Hi. Yea. AI used in games since the 80s is not the same exact thing as machine learning and language models. It can be quite simple actually as I show here
@MeinDeutschkurs4 ай бұрын
Why responsiveness, if touch is completely ignored? Yes, different screen sizes on Desktops. My stats show that 85% use mobile devices nowadays. I think touch controls are a must. And a pain to implement properly.
@AyoubNachat-wm4no4 ай бұрын
actually its easy, you can just declare a variable that will contain the clicked button (keyboard or html buttons showed for mobile users) and the remap to the game action. if you want touch support for your game instead of html buttons to register your game actions you may already find a library that register touch events instead of implementing it yourself.
@MeinDeutschkurs4 ай бұрын
@@AyoubNachat-wm4no I figured your that this is not enough. Unfortunately, iOS, iPadOS, Android, with or without keyboard inputs. There is lots to consider. In worse case, multiple inputs are triggered. Viewport behavior… It‘s a mess if you want to be compatible with several inputs and or platforms.
@AyoubNachat-wm4no4 ай бұрын
@@MeinDeutschkurs it's game that runs in the web what does the OS have to do with compatibility?
@MeinDeutschkurs4 ай бұрын
@@AyoubNachat-wm4no interface behavior. Just try to implement the inputs for any game on all platforms.
@AyoubNachat-wm4no4 ай бұрын
@@MeinDeutschkurs i was only talking about devices that have a browser in them, and since the game controls are in the browser environment (a simple html button that fires an onclick function) everything is going to work good.
@fredl98156 ай бұрын
Thanks a lot for your tutorial. I have a technical question, is the canvas suitable for games in terms of performance?
@Frankslaboratory6 ай бұрын
Hi, yes canvas is made for handling graphics, it is good for performance. With more complex games it depends on how you write and optimise your code, same as any other language.
@rathanveerarts4 ай бұрын
Supper nice 🎉🎉
@naomiorinahsule34223 ай бұрын
Make a pacman game
@braveitor6 ай бұрын
Great tutorial. Lots of great stuff there. Even the game seems fun. Thank you.
@Frankslaboratory6 ай бұрын
Hi, yea there was a lot of stuff to cover, I think people might prefer shorter classes.
@braveitor6 ай бұрын
@@Frankslaboratory Well, I'm more into React and Javascript frameworks nowadays, so when I see lot of staff that could be coded as components, or even separate classes, I can see the advantage in organization using that modular code, but I always learn something now with your tutorials. :)
@douglascounts46346 ай бұрын
@@braveitorWell, you will not find React very useful for canvas drawing as it isn’t changing the DOM. You could wrap up the entire project into a single React component though where the canvas element is inside a React component. It might generate many DOM updates that way though. So you would have to work around that.
@braveitor6 ай бұрын
@@douglascounts4634 Yes, you are right. I meant that those concepts of reusable components are really useful as they avoid to write time and time again similar code. In this case maybe using several classes (for players, objects, even controls...) could make the code much readable, organized and expandable. :)
@javifontalva77525 ай бұрын
Wow Impressive!!!
@worldbest30975 ай бұрын
i actually memorized all script from Franklab. it helped me to refactor other youtuber's game code into my own way(frank's style). Your contents is really freaking great and teach me way to how to catch fish! I really appreciate!
@javifontalva77525 ай бұрын
When can we see a platform game in javascript? Just an idea.
@Frankslaboratory4 ай бұрын
I will do a platformer for sure, my favourite type of game, after tower defense I guess :D
@javifontalva77525 ай бұрын
I would like to watch a tutorial about how to create these beautiful images.
@Frankslaboratory4 ай бұрын
I would love to do it but the way KZbin works it's not allowed, algorithm... :D
@bramtea57904 ай бұрын
Love this👍, Thank you!!
@Frankslaboratory4 ай бұрын
Glad you found some value
@leolopezdeveloperАй бұрын
This looks nice thanks.
@FrankslaboratoryАй бұрын
Thank you
@karlkoch33455 ай бұрын
Yet another amazing learning experience, big fan of Franks Laboratory! Go Void Wolf! Thanks Frank!
@Frankslaboratory4 ай бұрын
Good to see you here Karl, thank you for your kind comment
@melodydrase5 ай бұрын
thanks frank 👍👍👍
@Frankslaboratory4 ай бұрын
Glad to help :D
@ericfourmaux8336 ай бұрын
Very good tutorials, as usual! Love your chanel! :) I'd love to see a platform game tutorial with scrolling! :) Great work Frank! Thank You!
@Frankslaboratory6 ай бұрын
I want to remake some classic arcade games lime Megaman or the original Mario but need to find a good way to teach tile maps to make the levels decent size
@AlAmin-un7zx6 ай бұрын
You are awesome Frank. We love you. Thank you for the tutorial.
@Frankslaboratory6 ай бұрын
Thank you. Very happy to read this comment ☺️
@NoobOp-p9g6 ай бұрын
🔥🔥🔥
@Frankslaboratory6 ай бұрын
🖖
@playmambo95736 ай бұрын
Wow!!!! Thank you!!
@Frankslaboratory6 ай бұрын
Glad to help :D
@king_lel_HD6 ай бұрын
OMG new Video 😍😍
@Frankslaboratory6 ай бұрын
Yea it's been a while 😅
@worldbest30976 ай бұрын
damn, today!!! lol
@Frankslaboratory6 ай бұрын
😅
@ankushvishwakarma50746 ай бұрын
Pumped up🎉🎉
@Frankslaboratory6 ай бұрын
Hi Ankush. Glad to hear
@crispendragon11396 ай бұрын
thanks! You are the best. More videos like this please!!!
@Frankslaboratory6 ай бұрын
Glad you found some value
@crispendragon11396 ай бұрын
@@Frankslaboratory thanks to you so much. I learned so much from you Greetings and Blessings from Chile!
@philliplam27046 ай бұрын
Holy crap you are a god
@Frankslaboratory6 ай бұрын
It's a simple game, it just has more parts than what I usually do. Trying to see what people prefer