JavaScript Game Programming: Build 2D Tile-Based Games

Master the fundamentals of 2D game development by writing clean JavaScript to build tile-based worlds, arcade physics, and interactive puzzle mechanics.

4.5 (2,028) ⏱ 1h 26m 📚 9 lessons 🎧 Audio version

About this course

Have you ever wanted to build your own 2D video games using nothing but standard web technologies? Creating tile-based worlds is the perfect entry point to understanding game loops, collision detection, and player movement. In this course, you will learn how to program classic 2D games from scratch using JavaScript and HTML5 Canvas. You will transition from writing basic rendering scripts to structuring clean, modular game code for overhead racers, adventure puzzles, and arcade classics. What you'll learn: - Understand the core architecture of a game, including the game loop, state updates, and rendering cycles. - Build 2D tile-based grids to design interactive game worlds, maps, and obstacles. - Program smooth player movement, keyboard input handling, and basic collision detection algorithms. - Implement game mechanics for diverse genres, such as overhead racing physics and puzzle-key systems. - Apply modern JavaScript standards to keep your game logic structured, readable, and easy to expand. The course begins with foundational concepts of the canvas coordinate system and rendering basics before walking you through the step-by-step logic of building complete, playable game prototypes. You will read detailed explanations, analyze clean code snippets, and complete logic exercises to solidify your understanding. This course is designed for aspiring game developers and programming beginners who have a basic grasp of JavaScript and want to apply their skills to game creation. No prior game development experience is required. Start reading today and build your first tile-based game from the ground up.

What you'll get

  • 📜 Certificate of completion
    Add it to your LinkedIn profile
  • 💬 Personal AI tutor
    Stuck on a lesson? Ask your built-in tutor anything, any time.
  • 🎧 Audio version included
    Learn on the go — no screen needed
  • ♾️ Lifetime access
    Come back anytime, no expiry
  • 📱 Phone or computer
    Works anywhere, any device
  • 💸 30-day refund
    No questions asked
  • Short & focused
    1h 26m of practical content

Reviews (4)

Mia Jackson US
★ 4 · 2026-05-03T14:22:53+00:00

Fantastic learning experience. The pace was perfect, and the examples really solidified the concepts. Big thumbs up!

Сергей Петров RU Verified learner
★ 2 · 2026-02-23T20:51:53+00:00

Hmm, I'm not sure this is for absolute beginners. It assumes a bit of prior knowledge that wasn't explicitly taught. Some examples were confusing.

Kirsten Petersen DK
★ 3 · 2025-12-31T17:51:53+00:00

Brilliant course design. The way concepts build on each other is seamless. Very practical and well-explained.

Emine Arslan TR Verified learner
★ 4 · 2024-12-12T07:18:53+00:00

Wow, I'm impressed. The real-world applications shown were super helpful. Made abstract ideas feel tangible. Great value!

Write a review

You'll be asked to sign in after sending — your draft is saved.

Learners also took

Frequently asked

What do I need to take this course? +

Just a phone or computer with internet. No installs, no special hardware.

How do I pay? +

By card via Stripe, or with cryptocurrency. We do not store card details — Stripe handles them securely.

Can I get a refund? +

Yes — full refund within 30 days, no questions asked.

How long will I have access? +

Forever. Once you purchase, the course is yours to revisit anytime.

Will I get a certificate? +

Yes. On completion you'll receive a certificate you can add to your LinkedIn profile.

Built for learners in
Tech Design Finance Marketing Healthcare Education Hospitality Manufacturing