Category "love2d"

'end' expected near '<eof>' for map import for lua file

Error Syntax error: main.lua:8: 'end' expected (to close 'function' at line 5) near '<eof>' Traceback [love "callbacks.lua"]:228: in function 'handler' [

i can't run a lua game in love2D

When I try to run the game, I receive this error: Error [love "boot.lua"]:323: Cannot load game at path 'C:/Users/LENOVO/Desktop/LUA-Projects- master/projects

When are functions assigned to a variable actually computed?

I'm doing some troubleshooting on a Lua function I wrote yesterday as part of a game development effort using the Love2D API. The function is designed to handl

Why does the powerup not draw to the screen?

I've been making a breakout game recently and I've come upon a problem. So, I made a powerup function to randomly draw powerups to the screen. However when I ru

Love2d countdown and stopwatch

As the title suggests I want to create a love2d countdown as well as a stop watch. I previously tried doing this as follows: Countdown: function love.load()

Love2d "bad argument #2 to 'draw' (Quad expected, got nil)"

I am currently trying to make a flappy bird copy and I am having trouble when attempting to spawn in pipes (when a pipe should spawn I get the following error:

Fix warp in recaster (lua)

function RENDER_RAY(plr,rayNumber,Ray_Distance,RayAmount,rayAngle) local theta = plr.angle - FOV/2 local diss = Ray_Distance * math.cos(math.rad(theta -

Error Trying to Draw Platforms in Lua/Love2D

New to Lua/Game dev in general here. I'm trying to write a code to draw the background of my game. I have four different spritesheets for things related to sett

Error while trying to open 'Love2d' game engine

I'm trying to open a game with Love2D and the following error occurs: Error boot.lua:577: Cannot load game at path '/home/panali/Desktop/Lua.love/ma

Calling a lua function at random time intervals in love2d

So basically I want to call a function in lua at random time intervals in love2d. Iam clueless of how to do this so any help is appreciated.

I'm getting an error: "attempt to compare nil with number" in Lua with LOVE2d

I'm trying to make my first game with lua & love, it's a simple button clicker game that counts how many times you click a randomly appearing button. I'm tr

Background colour in LÖVE

I've set up a config file and I just got started writing a program to set up the title screen for a text-based RPG/simulation game. The background colour doesn'