Point & Shoot Games (JavaScript tutorial)

  Рет қаралды 13,939

Franks laboratory

Franks laboratory

Күн бұрын

Пікірлер: 104
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Hi coders, HAPPY NEW YEAR! I prepared some fun projects to start 2024 with :)
@douglascounts4634
@douglascounts4634 8 ай бұрын
Wow, really looking forward to them.
@Push_ups__
@Push_ups__ 6 ай бұрын
Can you show us how to add more enemies and beetlemorph and lobstermorph back with state design pattern please. BTW I love you content❤
@Code_With_Shami
@Code_With_Shami 26 күн бұрын
wow brother you doing great work can make it playlist one by one
@Frankslaboratory
@Frankslaboratory 19 күн бұрын
Hi Shami, nice to met you, good luck with your channel, I can see you are making videos as well
@Code_With_Shami
@Code_With_Shami 19 күн бұрын
@@Frankslaboratory yes brother I make also video related to web about JavaScript react js WordPress wix and Shopify type website
@micanal5533
@micanal5533 8 ай бұрын
Done it ! Work' s on computers and mobiles, very well. Cool tutorials and I learned a lot! Thank You !
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Nice work. Congratulations on completing the project!
@Lyricszofficial
@Lyricszofficial 8 ай бұрын
Amazing Content. First time seeing an extended mobile game dev on youtube vid tutorials. Compliment of the year , Frank!
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
People don't usually do it because there are some cross browser inconsistencies on mobile devices, but from my testing it's much better this year. I think we are good to go with mobile now
@MeinDeutschkurs
@MeinDeutschkurs 4 ай бұрын
So cool, isn‘t it possible to use pointer events instead of mouse and touch to use one method instead of two?
@jimmyroserovallejo
@jimmyroserovallejo 8 ай бұрын
Best regards, I am developing a game based on your tutorials, however for the mobile theme it has been difficult to place the buttons on the screen, since if I place them inside the canvas they interfere with the other events of the DOM, I am also thinking of placing the final boss but the character continues advancing forward and I can't think of placing another level where he faces the final enemy, mega man style, I'll share with you a little of the progress I've made, I hope you can help me or run a tutorial final boss to save me, thank you very much.
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Nice game ideas, you can implement all of that but you probably have to switch your game to a different state for the boss fight. I would create a different state block for each level which defines the behaviour of the game (scrolling speed, background images, environmental elements etc), you can have a separate state for each unique boss fight as well. This is quite advanced and there are many ways to do it. A simple way would be to use the state pattern I used for the phasing enemy in this class, but use it to define and control game states instead. I will do a class on handling multiple levels eventually but it might take a while. You can also do a crude simple thing, something like if boss is active, player speed or game scrolling speed is 0, not the best solution but it will work. For mobile controls you can hide the buttons and control the game with swipes for example. I did a very simple swipe control to make the player jump in my mobile side scroller class.
@Push_ups__
@Push_ups__ 6 ай бұрын
Can you show us how to add more enemies and beetlemorph and lobstermorph back with state design pattern please. BTW I love you content❤
@benja-min1588
@benja-min1588 8 ай бұрын
So sad I only just discovered you. Loved your 9hr course, and now this? Thank so much!
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Nice to meet you Benjamin, glad you found some value!
@technoinfoworldwide2329
@technoinfoworldwide2329 8 ай бұрын
how to convert into mobile hybrid app and generate apk
@jmschl96
@jmschl96 5 ай бұрын
where is the discord ? would be awesome ! :D
@JuanPabloGomez-cc6vm
@JuanPabloGomez-cc6vm 8 ай бұрын
OMG! thank you so much! We want more content about mobile games with js!! please!
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
OK. Thanks for letting me know I will try to include more mobile friendly projects
@JuanPabloGomez-cc6vm
@JuanPabloGomez-cc6vm 8 ай бұрын
thank you so much for your response!@@Frankslaboratory
@Push_ups__
@Push_ups__ 6 ай бұрын
What more should we do
@muksid100
@muksid100 4 ай бұрын
Hvaing an issue in lobstarmorp enemy code when i add it, when the enemy spawns the lives of the player automatically decreases. unable to find the bug
@Frankslaboratory
@Frankslaboratory 4 ай бұрын
You can email me and I give you the code if you want. Sounds like you made a typo somewhere with collision box position
@sandsriggs
@sandsriggs 8 ай бұрын
I am sooo excited for this. Still finishing up your other gaming tutorials. Do you have discord or another platform you chat with followers? Thanks again for the premium content!
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Hi, there is no rush it takes me a while to make a course like this anyway :D working on the next mobile game class now. So far no Discord, will probably set it up
@UncleDavid
@UncleDavid 8 ай бұрын
can you make something more practical and modern like a platformer with jump buffers, coyote time, double jump etc, or a top down game with dash mechanics, level generation-you know, shit like that
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Yup. Next one will be more complex. The basics are more practical. Beginners often rush to make the next Candy Crush project or something before they even learn how to animate sprites or control swipes. I wanted to cover the fundamentals first.
@johnniegilkerson4724
@johnniegilkerson4724 Ай бұрын
@40.25 in video I am not getting any score and my code is identical to yours.
@Frankslaboratory
@Frankslaboratory 19 күн бұрын
Hi John, if you need source code you can email me. Somewhere in your code there is a typo otherwise you would get the same result as me.
@tarcisiooliveira8810
@tarcisiooliveira8810 8 ай бұрын
Great as always, I would like to see you create a roguelike game, would you give it a chance?
@Frankslaboratory
@Frankslaboratory 7 ай бұрын
Hi Tarcisio. Nice to meet you. Yes, I like roguelikes. It would probably have to be a bigger course, these games are more complex. I will do some research
@gideonting
@gideonting 7 ай бұрын
OH MY GOODNESS thankk u so much for this free tutorial u are amazing!!! Also, just wondering, how exactly do u get the project onto your phone? I tried extracting my zip file into a folder on my phone but when i opened the html, none of the backgrounds or CS or JS loaded i think.. am i supposed to like find a way to host this on a website and open it on my phone browser? or like isit possible to build an apk file thingy with this? sorry if these are really stupid questions, im new to this haha
@Musfiq77
@Musfiq77 7 ай бұрын
Amazing, plz make webgl related content, waiting for long time, literally I was hoping.... one day you make webgl things
@adidevbhattacharya9220
@adidevbhattacharya9220 8 ай бұрын
This is was really very amazing tbh, learnt a lot. I was wondering if it's possible for you to bring some 3-D game tutorials using Three.js with HTML canvas and stuff like how to create own 3-D arts, if you have time :).
@HXP24
@HXP24 8 ай бұрын
next time put files in google drive pls
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Are you struggling to download the files from the links I provided?
@Radu
@Radu 8 ай бұрын
Oh wow! You're doing mobile games too now. Awesome!
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Hi Radu, yes, it was requested a lot
@Radu
@Radu 8 ай бұрын
@@Frankslaboratory I'm sure it was :-) been getting asked about it too.
@playmambo9573
@playmambo9573 8 ай бұрын
Hi! Thank you for all your content!!! It is wonderful!!! You have a great teaching technique!!! It would be awesome if you could make a series about responsive tile map game design!!!! Have a great new year!! Best regards from Mexico!
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
I'm doing a responsive mobile game series now. Will try to include one that has tilemaps. Making a note. Need to prototype it and check how to best approach this
@forgottenaquarium2879
@forgottenaquarium2879 8 ай бұрын
Missed your amazing tutorials. Just what I needed to exercise my JavaScript muscles. Thank you sir
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Hope your JS muscles get strong this year ! :D
@devilrjn1587
@devilrjn1587 8 ай бұрын
Thankyou sir. I have a request on you. Can you please upload a dedicated video on MediaSource. From server side to client side. Please sir
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
I think Radu has some videos on that, I haven't used MediaSource for a while, will do some research to update myself what's new there
@shubhamawasya5385
@shubhamawasya5385 8 ай бұрын
Can you teach how to make QR code
@Frankslaboratory
@Frankslaboratory 7 ай бұрын
Hi Shubha, I had to do it recently at work and I just used a library. It takes only a few lines of code. Are you saying you are more interested in doing it with vanilla to actually see how it works?
@shubhamawasya5385
@shubhamawasya5385 7 ай бұрын
@@Frankslaboratory yes , without any library
@magickomchanell4556
@magickomchanell4556 8 ай бұрын
could u pls make tutor marble wars territory game? its physq game thanks
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Thanks for bringing this game up. Never seen it. Just watched the gameplay. Very interesting. It might work well with a tile map series I'm planning
@ЛеонідПрокопенко-л8м
@ЛеонідПрокопенко-л8м 8 ай бұрын
Amazing job! I always waiting for your video.
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
This time it was a long wait, holiday season slowed me down :D
@suelingsusu1339
@suelingsusu1339 8 ай бұрын
WOW... superb... bravo!!! 😎😎😎👌👌👌🙏🙏🙏🙏🖖🖖🖖🖖🖖🖖🖖🖖🖖🌹🌹🌹
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Thank you
@mahbleh404
@mahbleh404 8 ай бұрын
In this jobless era. we needed your inspiring fun tutorials. thank you for the video
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Glad you think so, I always prefer to learn on a fun memorable project, I'm a visual learner
@XAVIER-ns7sx
@XAVIER-ns7sx 8 ай бұрын
🎉🎉🎉
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
😜
@quantum_microscope
@quantum_microscope 8 ай бұрын
thanks bro your videos is very helpful
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
I'm here to help
@AlexanderBarakhov
@AlexanderBarakhov 8 ай бұрын
Awesome Frank! Thank you once again!
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Hi Alex, happy to help :D
@mahimabhardwaj1807
@mahimabhardwaj1807 8 ай бұрын
waiting for this type of video one of the best content on youtube thanks.
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Glad you think so.
@Dragon_Coder
@Dragon_Coder 8 ай бұрын
Sir I am very impressed with your skill, by watching you I also want to make games like you.
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Glad you found some value. In the next video I will show a bit more advanced mobile game
@douglascounts4634
@douglascounts4634 8 ай бұрын
Your initial CSS has a bug in it. The .canvas section should have `transform: translate(-50%, -50%);` But you have left off the transform keyword and also left off the parenthesis.
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Hi Doug, I used a new syntax. As you can see in the video it works, they rolled out some new CSS to separate different transforms such as translate and scale from the transform keyword, to allow us to animate them separately etc. It was a long requested feature.
@douglascounts4634
@douglascounts4634 8 ай бұрын
@@Frankslaboratory Your are right it does work. I put a comma between the two values and that breaks it.
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
@@douglascounts4634 yup
@CodeSnap01
@CodeSnap01 8 ай бұрын
just a wow content . Pure gold.
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Glad you found some value
@daneshland4122
@daneshland4122 8 ай бұрын
So thanks dear frank. \
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Happy to help
@M4rt1nX
@M4rt1nX 8 ай бұрын
Wow Frank, thanks a lot!!!
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Hi Luz
@HXP24
@HXP24 8 ай бұрын
nice game kick off the year with a full game tutorial love it😍🥰🤩
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Yup. And I'm making more
@danielsurmat
@danielsurmat 7 ай бұрын
​@@Frankslaboratory Hello Frank , how can reach you in twitter , please
@gflaap
@gflaap 8 ай бұрын
Awesome Frank!!!!❤
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Thank you ❤
@javifontalva7752
@javifontalva7752 8 ай бұрын
Superb!!! You did it again!!! GOOD JOB!!
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Hi Javi, thank you
@Shitai-4ever
@Shitai-4ever 2 ай бұрын
how am i gonna play it on any device?? am i suppose to host it the website? please help for the full completion of the project
@amoljadhav5088
@amoljadhav5088 8 ай бұрын
Amezing content 👍
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Thank you
@irfansaeedkhan7242
@irfansaeedkhan7242 8 ай бұрын
awesome
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Thank you
@sudipbasak-m7y
@sudipbasak-m7y 8 ай бұрын
wow❤
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
@sudipbasak-m7y
@sudipbasak-m7y 8 ай бұрын
Sir, i love game development and I have watched almost every game dev tutorial of this channel.Iam sudip and I am from Bangladesh, please reply me anything you want 😅
@sudipbasak-m7y
@sudipbasak-m7y 8 ай бұрын
i have learned many things from this channel ❤. And currently iam developing Cuphead game for mobile device using html css and a lost of JavaScript 😅🙂
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
@@sudipbasak-m7y what makes it like Cuphead. The extreme difficulty or more the art style, 1930's cartoon. I love the art style want to make a game in that.
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
@@sudipbasak-m7yNice to meet you Sudip, greetings to Bangladesh
@helidrones
@helidrones 8 ай бұрын
Hi! Thank you for that awesome content! I have developed a game based on one of your previous tutorials, the one with the brave little dog. Back then you did not show how to implement different levels, so I had to figure it out by myself which was a lot of fun. Also, I made the dog capable of moving to the left and right with the landscape scrolling accordingly and enemies coming in from both sides. The rolling attack uses up power and power-ups can be found along the way. The game can be installed for offline use (PWA). I could make this become true because of your great tutorials. Thanks again!
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Well done. You've added a lot of features. Glad you found my class useful. Good luck with your coding 💪
@worldbest3097
@worldbest3097 8 ай бұрын
finally!! waitedd so longgg
@Frankslaboratory
@Frankslaboratory 8 ай бұрын
Yea it took me a while this time around :D
Side-Scrolling Games (JavaScript tutorial)
1:57:51
Franks laboratory
Рет қаралды 23 М.
JavaScript Game Tutorial: Planet Defense
1:53:17
Franks laboratory
Рет қаралды 11 М.
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,9 МЛН
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 37 МЛН
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 101 МЛН
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,1 МЛН
How many kernel system calls do runtimes make?
19:18
Hussein Nasser
Рет қаралды 22 М.
JavaScript Game Tutorial - Advanced Techniques
36:48
Franks laboratory
Рет қаралды 26 М.
Learn Creative Coding: Image Effects
39:10
Franks laboratory
Рет қаралды 14 М.
choosing a game engine is easy, actually
15:08
samyam
Рет қаралды 500 М.
Being Competent With Coding Is More Fun
11:13
TheVimeagen
Рет қаралды 82 М.
Pixel Art RPG Maker with JavaScript
1:35:59
Franks laboratory
Рет қаралды 22 М.
How To Code Flying Creatures with JavaScript
49:34
Franks laboratory
Рет қаралды 34 М.
The different types of JavaScript functions explained
14:47
Kevin Powell
Рет қаралды 41 М.
programming projects that taught me how to code
9:49
isak
Рет қаралды 294 М.
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,9 МЛН