Packt

Programming for Beginners with Lua and Love2D

Grow your skills with Coursera Plus for $239/year (usually $399). Save now.

Packt

Programming for Beginners with Lua and Love2D

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Learn to program in Lua and use Love2D for game development

  • Build interactive applications and games, including Hangman, Dice, and Minesweeper

  • Understand key programming concepts like functions, tables, and conditional statements

  • Develop skills in debugging, problem-solving, and structuring code for games

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

March 2026

Assessments

10 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 10 modules in this course

In this module, we will guide you through the initial setup of your development environment, covering installation of Lua and Love2D. You will learn how to set up a basic project structure and familiarize yourself with the tools you'll use throughout the course. This section sets the stage for the exciting journey ahead in game development using Lua and Love2D.

What's included

1 video1 reading

In this module, you will build your first game, Hangman, using Lua and Love2D. You’ll focus on implementing core game mechanics, such as drawing the game elements and tracking user input. By the end of this section, you’ll have a working game with functional win/loss conditions and data handling.

What's included

21 videos1 assignment

In this module, we will expand your knowledge by diving into logical operators and advanced table handling. You’ll also explore how understanding program execution order can help optimize your code. These advanced topics will prepare you for more complex programming challenges in the future.

What's included

5 videos1 assignment

In this module, you will apply your knowledge to create a dice application. You’ll practice random number generation and display the results within the game. This project will help you structure your code efficiently using functions and tables, reinforcing what you’ve learned so far.

What's included

2 videos1 assignment

In this module, you will develop a flag recognition game. You will learn how to manage game data structures, implement buttons for user interaction, and handle user input for selecting the correct flag. This project will challenge you to integrate new features into your game development process.

What's included

8 videos1 assignment

In this module, we will introduce advanced concepts such as working with tables and keys, string comparisons, and state tables. These techniques will help you manage complex data structures and game states, preparing you for more challenging projects in the course.

What's included

3 videos1 assignment

In this module, you will create a typing game, focusing on dynamic game mechanics such as letter spawning and scoring. You will also learn how to increase difficulty over time to keep the player challenged. This project will deepen your understanding of game development with Lua and Love2D.

What's included

9 videos1 assignment

In this module, we will introduce the modulo operator, which is essential for many game-related calculations. You will also learn how to use recursive functions and while loops to handle repetitive tasks in your games, enhancing your ability to tackle complex game logic.

What's included

2 videos1 assignment

Video 9.1: Setting Up Our Minesweeper Project

What's included

13 videos1 assignment

In this final module, we will congratulate you on completing the course and reflect on the valuable skills you’ve gained. You’ll be guided on the next steps to continue your learning journey and be introduced to more advanced topics in Lua and Love2D, setting you up for future game development projects.

What's included

1 video2 assignments

Instructor

Packt - Course Instructors
Packt
1,566 Courses 441,543 learners

Offered by

Packt

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions