Skip to content

Latest commit

 

History

History

simple-platformer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

💜 LÖVE - Platformer Tutorial 🏃‍♀️

Simple 2D platforming demo written in Lua and powered by LÖVE, a Free and Open-Source 2D Game Engine.

🖥️ Tutorial

  • Part 1 - The Basics - Hook up collision detection and simple physics for a platformer.
  • Part 2 - Plumbing A Game - Learn how to organize a project and use Gamestates to go from a simple demo to a full size game.
  • Part 3 - Making Levels - Unfortunately part 3 of the tutorial was never published.

⚡ Getting Started

  1. In VS Code, configure lövelauncher.path within the LÖVE launcher extension settings with the location to your local love.exe.

  2. After setting up your location, you will be able to press Alt + L to launch LÖVE from within VS Code.

🔧 Debugging

The game includes an optional debug mode to display FPS. Debug mode can be enabled by setting the 'debug' variable to true.

  • Implement a debug console that can be toggle on and off to display values in real-time. (e.g. position, score, timers, etc)

  • Use Love2D's love.graphics library to draw debug information directly onto the game screen. You can draw shapes, lines, and text to represent variable values, collision boundaries, or any other relevant information.

  • Implement interactive debugging tools that allow you to inspect variables and their effects in real-time. This could include pausing the game to inspect variable values, stepping through code execution, and visualizing data structures.

© License

This code is available under the MIT License.