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) ⏱ 1 ชม. 26 นาที 📚 9 บทเรียน 🎧 เวอร์ชันเสียง

เกี่ยวกับคอร์สนี้

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.

สิ่งที่คุณจะได้รับ

  • 📜 ใบประกาศนียบัตร
    เพิ่มในโปรไฟล์ LinkedIn ของคุณ
  • 🎧 รวมเวอร์ชันเสียง
    เรียนได้ทุกที่ ไม่ต้องดูจอ
  • ♾️ เข้าถึงตลอดชีพ
    กลับมาเรียนได้ตลอด ไม่มีหมดอายุ
  • 📱 โทรศัพท์หรือคอมพิวเตอร์
    ใช้งานได้ทุกที่ ทุกอุปกรณ์
  • 💸 คืนเงิน 30 วัน
    ไม่ต้องอธิบาย
  • กระชับและตรงประเด็น
    1 ชม. 26 นาที เนื้อหาเชิงปฏิบัติ

รีวิว (4)

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

ประสบการณ์การเรียนรู้ที่ยอดเยี่ยม! จังหวะการสอนกำลังดี และตัวอย่างก็ช่วยให้เข้าใจเนื้อหาได้ชัดเจนจริงๆ เยี่ยมมาก!

Сергей Петров RU ผู้เรียนที่ยืนยันแล้ว
★ 2 · 2026-02-23T20:51:53+00:00

อืม ไม่แน่ใจว่าเหมาะสำหรับมือใหม่จริงๆ ไหม มันเหมือนจะคาดหวังความรู้พื้นฐานมาก่อน ซึ่งไม่ได้สอนไว้ ตัวอย่างบางอันก็งงๆ

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

การออกแบบคอร์สยอดเยี่ยมมาก แนวคิดต่างๆ เชื่อมโยงกันได้อย่างลงตัว ใช้งานได้จริงและอธิบายได้ดีมาก

Emine Arslan TR ผู้เรียนที่ยืนยันแล้ว
★ 4 · 2024-12-12T07:18:53+00:00

ว้าว ประทับใจมาก การนำไปใช้จริงที่แสดงให้เห็นมีประโยชน์มาก ทำให้แนวคิดที่เป็นนามธรรมจับต้องได้ คุ้มค่ามาก!

เขียนรีวิว

หลังจากส่ง เราจะขอให้คุณเข้าสู่ระบบ — ฉบับร่างของคุณถูกบันทึก

ผู้เรียนคนอื่นเรียน

พื้นฐานอาชีพการเขียนโปรแกรมเกม

เรียนรู้ทักษะที่จำเป็นและทำความเข้าใจเส้นทางสู่การเป็นนักเขียนโปรแกรมเกม แม้ไม่มีประสบการณ์มาก่อน
★ 5.0 (18)
$4.99$9.99

พื้นฐานของเครื่องเกม: การเลือกและใช้ Unity, Unreal และ Godot

เข้าใจโครงสร้างพื้นฐานของเครื่องเกมสมัยใหม่ เลือกแพลตฟอร์มที่เหมาะสม และเริ่มสร้างเกมแรกของคุณ
★ 5.0 (6,972)
$4.99$9.99

พัฒนาเกมด้วย Unreal Engine5สำหรับมือใหม่

สร้างเกมสามมิติแบบตอบสนองจากพื้นฐานโดยการเรียนรู้การเขียนโปรแกรมด้วย Blueprints, พื้นฐานของ C++ และเทคโนโลยีการแสดงผลแบบสมัยใหม่
★ 4.9 (2,445)
$4.99$9.99

พัฒนาเกมบนมือถือ: สร้างและปรับแต่งเกมสำหรับมือถือ

เรียนรู้พื้นฐานการพัฒนาเกมมือถือ ตั้งแต่พื้นฐานการเขียนโปรแกรมและระบบสัมผัส จนถึงการปรับปรุงและปรับปรุงประสิทธิภาพของ UI
★ 4.9 (2,524)
$4.99$9.99

คำถามที่พบบ่อย

ฉันต้องใช้อะไรในการเรียนคอร์สนี้? +

แค่โทรศัพท์หรือคอมพิวเตอร์ที่มีอินเทอร์เน็ต ไม่ต้องติดตั้งหรือใช้อุปกรณ์พิเศษ

ฉันชำระเงินอย่างไร? +

ผ่านบัตรด้วย Stripe หรือคริปโต เราไม่เก็บข้อมูลบัตร — Stripe จัดการอย่างปลอดภัย

ฉันขอคืนเงินได้ไหม? +

ใช่ — คืนเงินเต็มจำนวนใน 30 วัน ไม่ต้องอธิบาย

ฉันมีสิทธิ์เข้าถึงนานเท่าไร? +

ตลอดไป เมื่อซื้อแล้วคอร์สเป็นของคุณ กลับมาเรียนได้ตลอด

ฉันจะได้ใบประกาศนียบัตรไหม? +

ได้ เมื่อเรียนจบจะได้รับใบประกาศนียบัตรที่เพิ่มในโปรไฟล์ LinkedIn ได้

ออกแบบสำหรับผู้เรียนใน
เทคโนโลยี ดีไซน์ การเงิน การตลาด สาธารณสุข การศึกษา ธุรกิจการบริการ อุตสาหกรรม