
Create and manage a circular target in Lua using a target table initialized in load, storing x, y, and radius, and track score and timer.
Add a main menu and a game state variable to switch from the menu to gameplay, gate the target by state, manage the timer, and reset the score on restart.
Implement safe deletion of off-screen bullets by iterating the bullets table from last to first and removing out-of-bounds entries with table.remove, improving performance and preventing loop errors.
Implement a spawn system that places zombies at random screen edges and walks them in from off screen, using a side variable, math.random, and screen dimensions in Lua with Löve.
Set up a game state and a countdown timer to spawn zombies; decrease max time after each spawn to speed up waves, and return to the main menu when caught.
Create a main menu with game state transitions, start on click, spawn bullets only in play, seed random zombie spawns with os.time, and show bottom score.
Move a physics-based player with left and right arrows and jump by applying an upward linear impulse; adjust impulse to control height while updating positions in the update loop.
Scale the player animation to fit the collider, draw at the collider position with centered offsets, and adjust collider size to 40 by 100 for proper idle and running states.
Implement a camera in a Love2D game using hump camera to follow the player, updating the camera to look at the player and attach/detach in draw for camera-relative rendering.
Explore what's next after mastering Lua and Love, including web publishing and Android game development. Access bonus lectures, Love wiki, forums, and Udemy Q&A, plus YouTube, Twitter, and LinkedIn.
Publish your game on Google Play by signing into the Google Play Console, paying the one-time $25 fee, and completing the store listing with your app details and beta options.
Whether you're a newcomer to the world of programming or an experienced developer seeking to expand your skillset, LÖVE (also known as Love2D) is a game engine that offers an incredible opportunity to dive into game development. Utilizing the user-friendly Lua scripting language, LÖVE empowers you to bring your game ideas to life.
Join this project-based course and unleash your creativity as we explore the fundamental concepts of programming and their application in game development.
No prior technical knowledge is required for this course, except for being capable of using the basic functionality of your computer and the ability to download and install programs. We'll guide you through each step, making it accessible to everyone.
Together, we'll build three captivating games, gradually increasing the complexity with each project. Through this hands-on experience, you'll gain a solid foundation in programming video games. Equipped with a deep understanding of LÖVE's capabilities, you'll be ready to forge your own path and craft unique games that captivate audiences.
Our journey begins by delving into Lua programming basics, covering essential topics such as variables, conditional statements, loops, functions, comments, and more. These principles are widely applicable across all programming languages, making this knowledge valuable beyond the scope of this course. For those already familiar with programming, we offer a convenient "syntax recap" section, specifically focusing on Lua syntax. You can quickly catch up on the language's specific nuances without revisiting every lecture.
Once we've established the programming foundation, we'll dive headfirst into utilizing LÖVE. Together, we'll create our games, starting with a straightforward Shooting Gallery, progressing to an engaging top-down shooter, and finally moving to a physics-based platformer.
Throughout the course, we'll explore an extensive array of game development concepts, which includes creating your main character, keyboard and mouse input, graphics rendering, enemy mechanics, collision detection, timers, randomness, RGB color schemes, physics simulation, animations, open-source software integration, Tiled map editor utilization, camera manipulation, sound effects, music implementation, score tracking, and data saving.
By actively coding alongside the lectures, the knowledge you acquire will better stick with you. As we progress, your programming and development skills will strengthen, empowering you to bring your own game ideas to fruition. With the ability to seamlessly incorporate these features, you'll be fully equipped to create captivating games of your own design.
Don't let your game ideas stay dormant—take the leap into game development with LÖVE and Lua programming. Join us on this exciting journey, and unleash your potential to shape unique gaming experiences!