Questions tagged [love2d]

Love2D is a framework for scripting 2D games in Lua. It has cross platform support for Windows, Linux, Mac OS X, Android and iOS.

LÖVE is a free, multiplatform, Lua framework for creating 2D games; LÖVE is distributed under the very permissive zlib/libpng license, allowing its use for commercial purposes.

Overview and Features

LÖVE is implemented in modular C++, using Lua 5.1 as its user-facing scripting language.
Some of its more notable features include:

  • Mainline support for Windows, Linux, and Mac OSX.
  • OpenGL accelerated 2D
  • GLSL Shaders
  • Lua 5.1 scripting support
  • Game packaging and self-running packages. ('.lovechives', and 'merged binaries')
  • Image formats: PNG, JPEG, TGA, BMP, (et al.)
  • Audio formats: WAV, OGG, MP3, MOD, (et al.)
  • Archive formats: ZIP, 7ZIP, (et al.)

Resources and Community

Related Tags:

653 questions
-2
votes
1 answer

How do i wait until a condition is given in LOVE2D?

I've tried timer.script(function(wait) repeat wait(0) until condiction end) but it didn't work. Please help me!
arthurgps2
  • 101
  • 1
  • 7
-2
votes
1 answer

Making a rectangle jump? (Love2d)

I might be stupid or something. But, I'm having a hard time with this. I usually find examples of code but it just confuses me. Unfortunately there isn't any good tutorial for this. I been using Lua for almost a year so I kinda have experience. Help…
Probix
  • 11
  • 4
-2
votes
2 answers

Love2D Collision?

I'm building a flappy bird clone i LOVE 2D and all i have is the bird flapping, with the background behind it. I would like to make it so when the bird touches the ground the game ends,or shows a game over screen. And i cant seem to find a good way…
-2
votes
1 answer

Origin in Löve program window?

Where is (0,0) in the Löve program window? Or, simply put, what quadrant of the coordinate plane is the game window set in?
-2
votes
1 answer

Y Velocity is inconsistent moving between 8 and something else?

I recently added an entity framework to my code (sorta half done) and after I added it I noticed something wrong with the y velocity of the player it seems to fluctuate between 1 and 0. I am completely stumped as to why this has occurred I assume…
Codedin97
  • 3
  • 1
  • 3
-2
votes
2 answers

Get clipboard string and set it

I need to get the clipboard into string, After I getting the string of the clipboard I want to set the clipboard to something else.
-3
votes
1 answer

I want treat `variable..'['..i..']'` as a indexing attempt

here my code blows up: love.graphics.print(jugador..'['..i..']', i * 100, 10) I tried 'jugador'..'['..i..']' so i want help to get this jugador[1], jugador[2], jugador[n] treated a an indexing attempt not a text or something else...
-4
votes
1 answer

When do we use 2 equals when identifying the value of a variable?

I'm learning how to use the LOVE engine, which uses Lua, but this engine cannot identify an error about, you know, if you need to do this: if value=1 then or if value==1 then to the engine identify a variable, so I'm asking this to prevent errors.
arthurgps2
  • 101
  • 1
  • 7
1 2 3
43
44