Build 2D Games with HTML5 Canvas and JavaScript

Learn how to program responsive 2D browser games from scratch using modern JavaScript and the HTML5 Canvas API.

3.9 (175) ⏱ 1 h 20 min 📚 9 leçons 🎧 Version audio

À propos de ce cours

Have you ever wanted to build your own web-based video games but did not know where to start? The HTML5 Canvas API combined with JavaScript offers a powerful, native way to create interactive 2D games that run smoothly on both desktop and mobile browsers. This text-based course takes you from a beginner to confidently programming your own web games. You will understand how to set up a high-performance game loop, render graphics, handle player input, and implement game physics without relying on heavy external frameworks. What you'll learn: - Understand the core concepts of the HTML5 Canvas API and how to render shapes and images. - Build a robust 2D game loop using modern JavaScript conventions for smooth rendering and performance. - Create sprite animations and manage character movement across the screen. - Apply basic physics and collision detection to handle interactions between game objects. - Implement responsive controls for both keyboard input and mobile touch events. - Configure game audio, preloaders, and state management for a polished user experience. You will begin with fundamental definitions and canvas setup before progressing to rendering single images, animating sprites, and structuring game logic. Through clear, step-by-step written explanations and practical code snippets, you will learn how to assemble these elements into fully functional browser games. This course is designed for beginners who have a basic understanding of HTML and JavaScript and want to apply their skills to game development. No prior game programming experience is required. Start reading today and build your first browser-based game from scratch.

Ce que vous recevez

  • 📜 Certificat de fin
    Ajoutez-le à votre profil LinkedIn
  • 🎧 Version audio incluse
    Apprenez en déplacement, sans écran
  • ♾️ Accès à vie
    Revenez quand vous voulez, sans expiration
  • 📱 Téléphone ou ordinateur
    Fonctionne partout, sur tout appareil
  • 💸 Remboursement 30 jours
    Sans poser de questions
  • Court et ciblé
    1 h 20 min de contenu pratique

Avis (3)

Mateo Herrera UY Apprenant vérifié
★ 4 · 2025-06-03T04:44:57+00:00

J'ai vraiment apprécié cela. La structure s'est parfaitement déroulée et les applications pratiques sont immédiatement utiles.

Oskari Niemi FI
★ 5 · 2025-05-21T22:06:57+00:00

Contenu solide et présenté clairement. J'ai apprécié les applications du monde réel montrées.J'aurais pu utiliser quelques occasions de pratique supplémentaires.

Dagmawit Mulatu ET
★ 1 · 2025-04-10T14:47:57+00:00

Les explications étaient un peu abstraites et je ne suis pas sûr de savoir comment je vais utiliser cela encore.

Écrire un avis

Nous vous demanderons de vous connecter après envoi — votre brouillon est sauvegardé.

Autres apprenants ont aussi suivi

Questions fréquentes

De quoi ai-je besoin pour suivre ce cours ? +

Un téléphone ou un ordinateur avec internet, c'est tout. Aucune installation, aucun matériel spécial.

Comment payer ? +

Carte via Stripe ou cryptomonnaie. Nous ne stockons pas les données de carte — Stripe les gère de manière sécurisée.

Puis-je obtenir un remboursement ? +

Oui — remboursement complet sous 30 jours, sans question.

Combien de temps aurai-je accès ? +

À vie. Une fois acheté, le cours est à vous, vous pouvez y revenir quand vous voulez.

Vais-je obtenir un certificat ? +

Oui. À la fin, vous recevez un certificat à ajouter à votre profil LinkedIn.

Conçu pour les apprenants en
Tech Design Finance Marketing Santé Éducation Hôtellerie Industrie