JavaScript Game Tutorial - Final Polish

Опубликовано: 19 Ноябрь 2024
на канале: Franks laboratory
10,209
214

Make your own 2D adventures with HTML, CSS & plain vanilla JavaScript, no frameworks and no libraries! Today we will apply state design pattern, sprite animation, parallax backgrounds and we will learn how to control FPS with timestamps and delta time. Have fun! :)

Part 1:    • JavaScript Game Tutorial with HTML Ca...   Animating player
Part 2:    • JavaScript Game Tutorial - Advanced T...   State management and parallax backgrounds
Part 3:    • JavaScript Game Tutorial - Many Diffe...   Enemy types
Part 4 :    • JavaScript Game Tutorial - Particles ...   Collisions & Particles
Part 5 :    • JavaScript Game Tutorial - Final Polish   Win & Lose Conditions, Timer, Clean up (this video)
Part 6:    • JavaScript Game Tutorial - Bonus Feat...   Bonus features

🎮 FULL SERIES:🎮    • JavaScript Game Development Mastercla...  

❤ Related Links ❤
Art by https://bevouliin.com/ check out their website for more game art assets!
Download project sprite sheets:
🐝 https://www.frankslaboratory.co.uk/do...
🌱 https://www.frankslaboratory.co.uk/do...
🕷️ https://www.frankslaboratory.co.uk/do...
🐕 Player: http://frankslaboratory.co.uk/downloa...
Backgrounds:
Layer 1: https://www.frankslaboratory.co.uk/do...
Layer 2: https://www.frankslaboratory.co.uk/do...
Layer 3: https://www.frankslaboratory.co.uk/do...
Layer 4: https://www.frankslaboratory.co.uk/do...
Layer 5: https://www.frankslaboratory.co.uk/do...
Fire texture:
🔥 https://www.frankslaboratory.co.uk/do...
Collision animation:
☁️ https://www.frankslaboratory.co.uk/do...

⭐️Tutorial Contents ⭐️
00:00 Course overview & final project previews
00:19 Dive attack
03:24 Splash particle effects
06:55 Player gets hit
09:51 Collision animations
15:58 Game timer
17:39 Winning and losing the game
20:51 Code clean up

Let's be friends
👍 You can message me on TWITTER   / code_laboratory  
👍 Check out some of my source code on CODEPEN https://codepen.io/franksLaboratory

The description of this video may contain affiliate links, which means that if you buy one of the products that I recommend, I'll receive a small commission without any additional cost for you. This helps to support the channel and allows me to continue making videos like this. Thank you for the support!
#frankslaboratory