Skip to main content

Code a 2D Game Using JavaScript, HTML, and CSS (w/ Free Game Assets) – Tutorial


Curriculum for the course Code a 2D Game Using JavaScript, HTML, and CSS (w/ Free Game Assets) – Tutorial

Let's explore an alien planet and learn all the techniques you need to make your own 2D games with vanilla JavaScript, HTML5, CSS3 and HTML Canvas. From sprite animation to parallax backgrounds, today we will build a game completely from scratch, with no frameworks and no libraries, using just HTML, CSS and plain vanilla JavaScript. Have fun! ✏️ Course by Frank's Laboratory. https://www.youtube.com/c/Frankslaboratory 🎨 Download Project Art assets 🎨 ** All art assets for this class were made by Frank or by artists he hired, there is NO copyright, you can download and use these freely for any project you want! Player: https://www.frankslaboratory.co.uk/downloads/103/player.png Projectile: https://www.frankslaboratory.co.uk/downloads/103/projectile.png Particle gears: https://www.frankslaboratory.co.uk/downloads/103/gears.png ⚙️ Backgrounds: Layer 1: https://www.frankslaboratory.co.uk/downloads/103/layer1.png Layer 2: https://www.frankslaboratory.co.uk/downloads/103/layer2.png Layer 3: https://www.frankslaboratory.co.uk/downloads/103/layer3.png Layer 4: https://www.frankslaboratory.co.uk/downloads/103/layer4.png 🐟 Enemies: Angler 1: https://www.frankslaboratory.co.uk/downloads/103/angler1.png Angler 2: https://www.frankslaboratory.co.uk/downloads/103/angler2.png Lucky Fish: https://www.frankslaboratory.co.uk/downloads/103/lucky.png Hive Whale: https://www.frankslaboratory.co.uk/downloads/103/hivewhale.png Drone: https://www.frankslaboratory.co.uk/downloads/103/drone.png ☁️ Collision Animations: Smoke: https://www.frankslaboratory.co.uk/downloads/103/smokeExplosion.png Fire: https://www.frankslaboratory.co.uk/downloads/103/fireExplosion.png 🐟EXTENDED class with BONUS lessons and more free sprite sheets: 4 new enemies, sound design, animated shield, animated projectiles and more https://www.udemy.com/course/learn-game-development-with-javascript/?referralCode=69874A38D543D7F510F2 ⭐️ Contents ⭐️ ⌨️ (0:00:00) Intro ⌨️ (0:01:07) HTML & CSS setup ⌨️ (0:02:40) Basic JavaScript setup ⌨️ (0:04:59) Object Oriented programming with JavaScript ⌨️ (0:07:25) Creating Player and Game objects ⌨️ (0:13:18) Animation loop ⌨️ (0:16:36) Keyboard inputs ⌨️ (0:26:15) Creating projectiles ⌨️ (0:33:22) Periodic events ⌨️ (0:38:30) Drawing game UI ⌨️ (0:41:20) Base enemy class ⌨️ (0:49:19) Collision detection between rectangles ⌨️ (0:54:36) Drawing game score ⌨️ (0:57:49) Win and lose condition ⌨️ (0:59:52) Counting game time ⌨️ (1:03:07) Animated parallax backgrounds ⌨️ (1:13:20) Sprite animation with JavaScript ⌨️ (1:17:02) Creating a debug mode ⌨️ (1:18:38) Animating enemy sprite sheets ⌨️ (1:25:15) Night Angler enemy class ⌨️ (1:27:39) Lucky Fish enemy class ⌨️ (1:29:02) Collecting power ups ⌨️ (1:36:51) Drawing projectiles as images ⌨️ (1:38:01) Custom fonts and game text ⌨️ (1:40:43) Cleaning up ⌨️ (1:42:51) Particle effects and physics ⌨️ (1:55:03) Particle rotation ⌨️ (1:58:47) Tweaks and fixes ⌨️ (2:01:46) Hive Whale enemy class ⌨️ (2:04:46) Drone enemy class ⌨️ (2:09:30) Dust effect animation ⌨️ (2:24:36) Fire effect animation ⌨️ (2:26:03) Tuning game difficulty ⌨️ (2:29:26) What to do next?

Watch Online Full Course: Code a 2D Game Using JavaScript, HTML, and CSS (w/ Free Game Assets) – Tutorial


Click Here to watch on Youtube: Code a 2D Game Using JavaScript, HTML, and CSS (w/ Free Game Assets) – Tutorial


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


Udemy Code a 2D Game Using JavaScript, HTML, and CSS (w/ Free Game Assets) – Tutorial courses free download, Plurasight Code a 2D Game Using JavaScript, HTML, and CSS (w/ Free Game Assets) – Tutorial courses free download, Linda Code a 2D Game Using JavaScript, HTML, and CSS (w/ Free Game Assets) – Tutorial courses free download, Coursera Code a 2D Game Using JavaScript, HTML, and CSS (w/ Free Game Assets) – 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

What's Hot

CVR Nummer : Register CVR Number for Denmark Generate and Test Online

CVR Nummer : Register CVR Number for Denmark Generate and Test Online | Image credit: Pexel What Is Danish CVR The Central Business Register (CVR) is the central register of the state with information on all Danish companies. Since 1999, the Central Business Register has been the authoritative register for current and historical basic data on all registered companies in Denmark. Data comes from the companies' own registrations on Virk Report. There is also information on associations and public authorities in the CVR. As of 2018, CVR also contains information on Greenlandic companies, associations and authorities. In CVR at Virk you can do single lookups, filtered searches, create extracts and subscriptions, and retrieve a wide range of company documents and transcripts. Generate Danish CVR For Test (Fake) Click the button below to generate the valid CVR number for Denmark. You can click multiple times to generate several numbers. These numbers can be used to Test your ...

Bing Homepage Quiz: Fun, Win Rewards, and Brain Teasers

Bing, Microsoft's search engine, has taken interactive engagement to the next level with its captivating feature - the Bing Homepage Quiz. This intriguing daily quiz not only challenges your knowledge but also offers a chance to earn rewards. In this comprehensive guide, we will explore the ins and outs of the Bing Homepage Quiz, including how to play, the different types of quizzes, and how you can earn and use rewards through this engaging feature. Bing homepage Quiz | Image credit: LanguageLassi How to Play the Bing Homepage Quiz Playing the Bing Homepage Quiz is simple and enjoyable. Here's how you can get started: Visit Bing : Open your preferred web browser and navigate to the Bing homepage (bing.com). Look for the Quiz : On the Bing homepage, keep an eye out for the interactive quiz card. This card is usually located near the bottom of the page and features a captivating image related to the quiz. Click to Start : Click on the quiz card to begin the quiz. It...

How To Iterate Dictionary Object

Dictionary is a object that can store values in Key-Value pair. its just like a list, the only difference is: List can be iterate using index(0-n) but not the Dictionary . Generally when we try to iterate the dictionary we get below error: " Collection was modified; enumeration operation may not execute. " So How to parse a dictionary and modify its values?? To iterate dictionary we must loop through it's keys or key - value pair. Using keys