Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Practice JavaScript by Building a Zelda-Style Game

Code with Ania Kubów via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn JavaScript fundamentals by building a simplified Zelda-inspired game from scratch in this comprehensive coding tutorial. Set up the project structure and create the HTML foundation before styling the game grid with CSS. Build the game board using JavaScript, then implement core game elements including the player character, enemy types like Slicers and Skeletors, and player movement mechanics. Progress through advanced features such as level progression systems, explosive "kaboom" effects, and game over functionality. Develop enemy movement algorithms for different character types and integrate all components into a cohesive game loop. Complete the project with final touches and optimizations while gaining hands-on experience with HTML, CSS, and JavaScript through practical game development. Access the complete source code on GitHub and deploy your finished game using the provided deployment platform.

Syllabus

00:00 Intro
02:03 Project set up
04:34 Adding HTML
07:00 Styling our Game Grid in CSS
12:01 Creating our Game Board in JavaScript
39:42 Creating our player
45:23 Creating our Slicer and Skeletor enemies
52:25 Moving our player
01:09:11 Accessing the next level
01:18:28 Spawning kabooms
01:29:24 Writing our Game Over
01:30:43 Writing our function to move the Slicers
01:34:56 Writing our function to move Moving the Skeletors
01:37:49 Moving all the enemies
01:38:57 Writing our Game Loop
01:41:46 Final touches
01:47:43 Recap

Taught by

Code with Ania Kubów

Reviews

Start your review of Practice JavaScript by Building a Zelda-Style Game

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.