Love2D the cross-platform graphics programming library for the lua language, written in C++

Alex Szpakowski b4f2a9417a Added new event callback love.mousemoved(x, y, xrel, yrel), where xrel and yrel are the amount of pixels moved since the last event. Added love.mouse.setRelative(bool relative) and love.mouse.isRelative. Resolves issue #470. 10 năm trước cách đây
extra e4eac17355 Fix Windows resource generation for love.dll (resolves issue #935) 10 năm trước cách đây
platform 1b41d546e2 Removed a Mac-specific workaround from love.run (pumping events before love.load so that love.mouse.setPosition works before love.update.) 10 năm trước cách đây
src b4f2a9417a Added new event callback love.mousemoved(x, y, xrel, yrel), where xrel and yrel are the amount of pixels moved since the last event. Added love.mouse.setRelative(bool relative) and love.mouse.isRelative. Resolves issue #470. 10 năm trước cách đây
.hgignore e2626552bd Fixed .hgignore with Xcode 12 năm trước cách đây
.hgtags 4597947106 Added tag 0.9.1 for changeset 8b113c345e97 11 năm trước cách đây
CMakeLists.txt c7b45b3505 Updated copyright for the new year 10 năm trước cách đây
changes.txt e6ff146e67 Updated changelog 10 năm trước cách đây
license.txt c7b45b3505 Updated copyright for the new year 10 năm trước cách đây
readme.md 2b12c9cb1e Updated the readme 11 năm trước cách đây

readme.md

LÖVE is an awesome framework you can use to make 2D games in Lua. It's free, open-source, and works on Windows, Mac OS X and Linux.

Documentation

We use our wiki for documentation. If you need further help, feel free to ask on our forums, and last but not least there's the irc channel #love on OFTC.

Compilation

###Windows Follow the instructions at the megasource repository page.

###*nix Run platform/unix/automagic from the repository root, then run ./configure and make.

$ platform/unix/automagic
$ ./configure
$ make

###Mac OS X Download the required frameworks from here and place them in /Library/Frameworks/.

Then use the Xcode project found at platform/macosx/love.xcodeproj.

Repository information

We use the 'default' branch for development, and therefore it should not be considered stable. Also used is the 'minor' branch, which is used for features in the next minor version and it is not our development target (which would be the next revision - version numbers are formatted major.minor.revision.)

We tag all our releases (since we started using mercurial), and have binary downloads available for them.

Experimental changes are developed in the separate love-experiments repository.

Builds

Releases are found in the 'downloads' section on bitbucket, are linked on the site, and there's a ppa for ubuntu, ppa:bartbes/love-stable.

There are also unstable/nightly builds:

Dependencies

  • SDL2
  • OpenGL
  • OpenAL
  • Lua / LuaJIT / LLVM-lua
  • DevIL with MNG and TIFF
  • FreeType
  • PhysicsFS
  • ModPlug
  • mpg123
  • Vorbisfile