Skip to main content

Animated Physics Game with JavaScript - Tutorial


Curriculum for the course Animated Physics Game with JavaScript - Tutorial

Learn how to code a JavaScript Game featuring interesting physics and AI mechanics. What makes a great game? Is it about beautiful, polished visuals or about gameplay that feels good and responsive? Is it about unique ideas, or maybe it's the little details, special secrets and Easter eggs? What are the ingredients in a perfect game development recipe? Let's explore fantasy mushroom forest theme and learn all the techniques you need to make your own 2D games with vanilla JavaScript, HTML5, CSS3 and HTML Canvas. ✏️ Course created by @Frankslaboratory ⭐️ Assets ⭐️ All project images: https://www.frankslaboratory.co.uk/downloads/109/all_project_images.zip Background: https://www.frankslaboratory.co.uk/downloads/109/background.png Overlay: https://www.frankslaboratory.co.uk/downloads/109/overlay.png Player: https://www.frankslaboratory.co.uk/downloads/109/bull.png Egg: https://www.frankslaboratory.co.uk/downloads/109/egg.png Toad single: https://www.frankslaboratory.co.uk/downloads/109/toad.png Larva: https://www.frankslaboratory.co.uk/downloads/109/larva.png Toads: https://www.frankslaboratory.co.uk/downloads/109/toads.png Bonus images, environmental art, HQ separate pieces in PSD format etc: https://www.frankslaboratory.co.uk/downloads/109/bonus_image_source_files.zip You will learn: - How to implement a very simple AI to make the creatures feel alive - How to control the FPS of our game and how to measure time to trigger periodic events - How to restart the game by pressing a button - How to apply collision detection, resolve collisions and use that to simulate physics - How to use the built-in drawImage method to draw randomized game environments and animated characters from a sprite sheet - How to capture mouse position and animate an 8 directional sprite sheet based on the relative position between the mouse and the player character - How to use HTML5, CSS3 and plain vanilla JavaScript to build a game from scratch. We will write and understand every line of code, we will not rely on any external frameworks or libraries ... and much more ⭐️ Contents ⭐️ ⌨️(0:00:00) Intro ⌨️(0:01:01) Basic setup ⌨️(0:04:51) Object oriented programming in JavaScript ⌨️(0:09:14) Drawing the player ⌨️(0:16:24) Mouse controls ⌨️(0:22:24) Making the player move ⌨️(0:30:04) Creating obstacles ⌨️(0:36:37) Non-overlapping obstacles ⌨️(0:43:12) Randomized images from a sprite sheet ⌨️(0:48:27) Positioning rules ⌨️(0:54:26) Reusable collision detection method ⌨️(0:58:31) Let's add physics ⌨️(1:06:38) 8-directional sprite animation ⌨️(1:10:52) Animation angles ⌨️(1:17:58) Debug mode ⌨️(1:21:31) Player movement boundaries ⌨️(1:24:20) FPS ⌨️(1:33:59) Egg class ⌨️(1:38:52) Periodically adding new eggs ⌨️(1:45:51) Egg physics ⌨️(1:51:26) Draw order ⌨️(1:59:44) Enemy class ⌨️(2:11:03) Larva class ⌨️(2:14:30) Egg hatching ⌨️(2:24:28) Larva sprites and collisions ⌨️(2:29:06) Gaining score points ⌨️(2:31:47) Particle effects ⌨️(2:40:42) Particle motion ⌨️(2:47:46) Randomized enemy skins ⌨️(2:52:09) Win and lose condition ⌨️(3:02:41) Restart game 🎉 Thanks to our Champion and Sponsor supporters: 👾 Nattira Maneerat 👾 Heather Wcislo 👾 Serhiy Kalinets 👾 Erdeniz Unvan 👾 Justin Hual 👾 Agustín Kussrow 👾 Otis Morgan -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

Watch Online Full Course: Animated Physics Game with JavaScript - Tutorial


Click Here to watch on Youtube: Animated Physics Game with JavaScript - Tutorial


This video is first published on youtube via freecodecamp. If Video does not appear here, you can watch this on Youtube always.


Udemy Animated Physics Game with JavaScript - Tutorial courses free download, Plurasight Animated Physics Game with JavaScript - Tutorial courses free download, Linda Animated Physics Game with JavaScript - Tutorial courses free download, Coursera Animated Physics Game with JavaScript - Tutorial course download free, Brad Hussey udemy course free, free programming full course download, full course with project files, Download full project free, College major project download, CS major project idea, EC major project idea, clone projects download free

Comments

Popular posts from this blog