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

Alex Szpakowski 1d6cde226d Updated the changelog. il y a 9 ans
extra 55b9899c82 Backout changeset 521ee85a2bc4d896cddc7ccc5c2a73dfd3b16669 il y a 10 ans
platform 00845c0ad0 Added love.graphics.intersectScissor(x, y, w, h). Resolves issue #1071. il y a 10 ans
src b2b14eb2d6 Simplified some of the high-dpi scaling code for the no-game screen. il y a 9 ans
.hgignore 3449465f1a Update hgignore il y a 10 ans
.hgtags 84294ac684 Added tag 0.9.2 for changeset a5e405cdf14d il y a 10 ans
CMakeLists.txt 5dbf589d47 Removed libjpeg-turbo as a dependency (closes issue #1031.) Removed jpeg support for ImageData:encode. stb_image now handles jpeg image loading. il y a 10 ans
changes.txt 1d6cde226d Updated the changelog. il y a 9 ans
license.txt f5778ed86e Added a LOVE_ANDROID define and Android-specific code that interacts with the JNI and SDL. il y a 10 ans
readme.md 1b5a0f49fa Update aur link in readme il y a 10 ans

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/xcode/love.xcodeproj to build the love-macosx target.

###iOS Download the required libraries from here and place the include and libraries folders into the platform/xcode/ios folder.

Then use the Xcode project found at platform/xcode/love.xcodeproj to build the love-ios target.

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.

Contributing

The best places to contribute are through the Bitbucket issue tracker and the official IRC channel. For code contributions, pull requests and patches are welcome. Be sure to read the source code style guide.

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 2.1+ / OpenGL ES 2+
  • OpenAL
  • Lua / LuaJIT / LLVM-lua
  • FreeType
  • PhysicsFS
  • ModPlug
  • mpg123
  • Vorbisfile