[#Script #Coding] Game Development with LÖVE 2D and Lua – Full Course

Game Development with LÖVE 2D and Lua – Full Course

By freeCodeCamp.org
Published: Aug 25, 2022


freeCodeCamp.org Learn how to create games using LÖVE 2D and Lua. LÖVE is a framework you can use to make 2D games in Lua. It’s free, open-source, and works on Windows, Mac OS X, Linux, Android and iOS. In this course, you will first learn how to program in Lua. Then you will learn how to use Love2D with Lua to develop amazing games.

Course created by Steve. Check out his channel: https://www.youtube.com/c/Stevesteacherzz

    Resources and Code

  • Lua: https://lua.org
  • Love2D: https://love2d.org
  • LuaRocks: https://luarocks.org
  • Running Boy Sprites: https://github.com/WeebNetsu/YouTube-…
  • Save the Ball Source Code: https://github.com/WeebNetsu/YouTube-…
  • Asteroids Game Source Code: https://github.com/WeebNetsu/YouTube-…
  • Sound Effects & BGM: https://github.com/WeebNetsu/YouTube-…
  • Creator’s GitHub: https://github.com/WeebNetsu/
    Course Contents
    — LUA BASICS —

  • (0:00:00) Intro to Lua
  • (0:02:28) Installing Lua
  • (0:09:51) Running Lua (VSCode)
  • (0:11:03) Printing and Comments
  • (0:19:42) Variables & Data Types
  • (0:29:51) Strings
  • (0:36:59) Math
  • (0:46:22) If Statements
  • (0:58:49) Loops
  • (1:03:37) User Input
  • (1:05:34) Tables
  • (1:23:27) Functions
  • (1:31:44) Working with Files
  • (1:39:12) Custom Modules
  • (1:43:10) OOP
    — LOVE 2D BASICS —

  • (1:56:42) Setup and LUD basics
  • (2:06:35) The Config File
  • (2:25:13) Drawing & Moving Shapes
  • (2:45:57) Keyboard Input
  • (2:55:36) Working with Sprites
    — CREATING SAVE THE BALL GAME —

  • (3:21:44) Game Setup
  • (3:38:03) Creating the Enemy
  • (4:09:02) The Menu Screen
  • (4:51:11) Adding a Point System
  • (5:11:44) Game Over Screen
    — CREATING THE ASTEROIDS GAME —

  • (5:31:24) Game Setup
  • (5:40:02) The Player
  • (6:10:32) The Thruster
  • (6:31:59) The Game State
  • (6:38:47) Game Text
  • (7:02:40) Asteroids
  • (7:41:32) Lasers
  • (8:03:46) Laser Collision Detection
  • (8:29:10) Player Collision Detection
  • (8:41:17) Player Lives
  • (8:57:54) The Menu
  • (9:30:51) Installing & Running LuaRocks
  • (9:42:18) The Score System
  • (10:03:12) Game Over
  • (10:11:56) Invincible PLayer & Infinite Levels
  • (10:31:07) Game Reset & High Score
  • (10:44:38) BGM & SFX

Proudly powered by WordPress
Creative Commons License
EricBrooks.Com® is licensed under a Creative Commons License.

Disclaimer: The views expressed herein are solely those of Eric Brooks. They do not necessarily reflect those of his employers, friends, contacts, family, or even his pets (though my cat, Puddy, seems to agree with me on many key issues.). In accordance to my terms of use, you hereby acknowledge my right to psychoanalyze you, practice accupuncture, and mock you incessantly with every visit. As the user, you also acknowledge that the author has been legally declared a "Problem Adult" by the Commonwealth of Pennsylvania, and is therefore not responsible for any of his actions. ALSO, the political views and products advertised on this site may/may not reflect the views of Puddy or myself, so please don't take them as an endorsement. We just need to eat.


Connect