JavaScript Platformer Game - Advanced Techniques

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: 🎮 FULL SERIES:🎮 ❤ Related Links ❤ Art by check out their website for more game art assets! Download project sprite sheets: 🐕 Player: ⭐️Tutorial Contents ⭐️ 00:00 Course overview & final project previews 00:29 Why to use State Design Pattern 00:57 State class 03:10 JavaScript state design pattern explained 12:51 Running state 13:46 Jumping state 15:23 Falling state 17:31 Sprite animation with vanilla JavaScript 18:32 How to control FPS in JavaScript game 24:28 Positioning the player in game world 25:35 Parallax backgrounds Let’s be friends 👍 You can message me on T
Back to Top