You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

readme.txt 4.6 KiB

2 vuotta sitten
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. LÖVE is an *awesome* framework you can use to make 2D games in Lua. It's free, open-source, and works on Windows, macOS, Linux, Android, and iOS.
  2. [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/chc0hdr08wv1d5c7?svg=true)](https://ci.appveyor.com/project/AlexSzpakowski/love)
  3. [![Build Status: Github CI](https://github.com/love2d/love/workflows/continuous-integration/badge.svg)](https://github.com/love2d/love/actions?query=workflow%3Acontinuous-integration)
  4. Documentation
  5. -------------
  6. We use our [wiki][wiki] for documentation.
  7. If you need further help, feel free to ask on our [forums][forums], our [Discord server][discord], or our IRC channel [#love on OFTC][irc].
  8. Repository
  9. ----------
  10. We use the 'main' branch for patch development of the current major release, and therefore it should not be considered stable.
  11. There may also be a branch for the next major version in development, which is named after that version.
  12. We tag all our releases (since we started using mercurial and git), and have binary downloads available for them.
  13. Experimental changes are developed in a separate [love-experiments][love-experiments] repository.
  14. Builds
  15. ------
  16. Files for releases are in the [releases][releases] section on GitHub. [The site][site] has links to files and additional platform content for the latest release.
  17. There are also unstable/nightly builds:
  18. - Builds for some platforms are automatically created after each commit and are available through GitHub's CI interfaces.
  19. - For ubuntu linux they are in [ppa:bartbes/love-unstable][unstableppa]
  20. - For arch linux there's [love-git][aur] in the AUR.
  21. Contributing
  22. ------------
  23. The best places to contribute are through the issue tracker and the official Discord server or IRC channel.
  24. For code contributions, pull requests and patches are welcome. Be sure to read the [source code style guide][codestyle].
  25. Changes and new features typically get discussed in the issue tracker or on Discord or the forums before a pull request is made.
  26. Compilation
  27. -----------
  28. ### Windows
  29. Follow the instructions at the [megasource][megasource] repository page.
  30. ### *nix
  31. Run `platform/unix/automagic` from the repository root, then run ./configure and make.
  32. $ platform/unix/automagic
  33. $ ./configure
  34. $ make
  35. When using a source release, automagic has already been run, and the first step can be skipped.
  36. ### macOS
  37. Download or clone [this repository][dependencies-apple] and copy, move, or symlink the `macOS/Frameworks` subfolder into love's `platform/xcode/macosx` folder.
  38. Then use the Xcode project found at `platform/xcode/love.xcodeproj` to build the `love-macosx` target.
  39. ### iOS
  40. Building for iOS requires macOS and Xcode.
  41. #### LÖVE 11.4 and newer
  42. Download the `love-apple-dependencies` zip file corresponding to the LÖVE version being used from the [Releases page][dependencies-ios],
  43. unzip it, and place the `iOS/libraries` subfolder into love's `platform/xcode/ios` folder.
  44. Or, download or clone [this repository][dependencies-apple] and copy, move, or symlink the `iOS/libraries` subfolder into love's `platform/xcode/ios` folder.
  45. Then use the Xcode project found at `platform/xcode/love.xcodeproj` to build the `love-ios` target.
  46. See `readme-iOS.rtf` for more information.
  47. #### LÖVE 11.3 and older
  48. Download the `ios-libraries` zip file corresponding to the LÖVE version being used from the [Releases page][dependencies-ios],
  49. unzip it, and place the `include` and `libraries` subfolders into love's `platform/xcode/ios` folder.
  50. Then use the Xcode project found at `platform/xcode/love.xcodeproj` to build the `love-ios` target.
  51. See `readme-iOS.rtf` for more information.
  52. ### Android
  53. Visit the [Android build repository][android-repository] for build instructions.
  54. Dependencies
  55. ------------
  56. - SDL2
  57. - OpenGL 2.1+ / OpenGL ES 2+
  58. - OpenAL
  59. - Lua / LuaJIT / LLVM-lua
  60. - FreeType
  61. - ModPlug
  62. - mpg123
  63. - Vorbisfile
  64. - Theora
  65. [site]: https://love2d.org
  66. [wiki]: https://love2d.org/wiki
  67. [forums]: https://love2d.org/forums
  68. [discord]: https://discord.gg/rhUets9
  69. [irc]: irc://irc.oftc.net/love
  70. [dependencies-apple]: https://github.com/love2d/love-apple-dependencies
  71. [dependencies-ios]: https://github.com/love2d/love/releases
  72. [megasource]: https://github.com/love2d/megasource
  73. [unstableppa]: https://launchpad.net/~bartbes/+archive/love-unstable
  74. [aur]: https://aur.archlinux.org/packages/love-git
  75. [love-experiments]: https://github.com/slime73/love-experiments
  76. [codestyle]: https://love2d.org/wiki/Code_Style
  77. [android-repository]: https://github.com/love2d/love-android
  78. [releases]: https://github.com/love2d/love/releases