2 次程式碼提交

作者 SHA1 備註 提交日期
  nirokay 68d3a68310
updated readme (builder) 2 年之前
  Niro bbfcaf9426 added builder 2 年之前
共有 25 個檔案被更改,包括 2735 行新增1 行删除
分割檢視
  1. 二進制
      .build/love/OpenAL32.dll
  2. 二進制
      .build/love/SDL2.dll
  3. +1404
    -0
      .build/love/changes.txt
  4. 二進制
      .build/love/game.ico
  5. +1184
    -0
      .build/love/license.txt
  6. 二進制
      .build/love/love.dll
  7. 二進制
      .build/love/love.exe
  8. 二進制
      .build/love/love.ico
  9. 二進制
      .build/love/lovec.exe
  10. 二進制
      .build/love/lua51.dll
  11. 二進制
      .build/love/mpg123.dll
  12. 二進制
      .build/love/msvcp120.dll
  13. 二進制
      .build/love/msvcr120.dll
  14. +111
    -0
      .build/love/readme.txt
  15. +13
    -0
      .build/make-exe.sh
  16. +3
    -0
      .build/make-love.sh
  17. 二進制
      .build/win/OpenAL32.dll
  18. 二進制
      .build/win/SDL2.dll
  19. 二進制
      .build/win/love.dll
  20. 二進制
      .build/win/lua51.dll
  21. 二進制
      .build/win/mpg123.dll
  22. 二進制
      .build/win/msvcp120.dll
  23. 二進制
      .build/win/msvcr120.dll
  24. +9
    -1
      README.md
  25. +11
    -0
      build.sh

二進制
.build/love/OpenAL32.dll 查看文件


二進制
.build/love/SDL2.dll 查看文件


+ 1404
- 0
.build/love/changes.txt
文件差異過大導致無法顯示
查看文件


二進制
.build/love/game.ico 查看文件

Before After

+ 1184
- 0
.build/love/license.txt
文件差異過大導致無法顯示
查看文件


二進制
.build/love/love.dll 查看文件


二進制
.build/love/love.exe 查看文件


二進制
.build/love/love.ico 查看文件

Before After

二進制
.build/love/lovec.exe 查看文件


二進制
.build/love/lua51.dll 查看文件


二進制
.build/love/mpg123.dll 查看文件


二進制
.build/love/msvcp120.dll 查看文件


二進制
.build/love/msvcr120.dll 查看文件


+ 111
- 0
.build/love/readme.txt 查看文件

@@ -0,0 +1,111 @@
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.
[![Build Status: Windows](https://ci.appveyor.com/api/projects/status/chc0hdr08wv1d5c7?svg=true)](https://ci.appveyor.com/project/AlexSzpakowski/love)
[![Build Status: Github CI](https://github.com/love2d/love/workflows/continuous-integration/badge.svg)](https://github.com/love2d/love/actions?query=workflow%3Acontinuous-integration)
Documentation
-------------
We use our [wiki][wiki] for documentation.
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].
Repository
----------
We use the 'main' branch for patch development of the current major release, and therefore it should not be considered stable.
There may also be a branch for the next major version in development, which is named after that version.
We tag all our releases (since we started using mercurial and git), and have binary downloads available for them.
Experimental changes are developed in a separate [love-experiments][love-experiments] repository.
Builds
------
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.
There are also unstable/nightly builds:
- Builds for some platforms are automatically created after each commit and are available through GitHub's CI interfaces.
- For ubuntu linux they are in [ppa:bartbes/love-unstable][unstableppa]
- For arch linux there's [love-git][aur] in the AUR.
Contributing
------------
The best places to contribute are through the issue tracker and the official Discord server or IRC channel.
For code contributions, pull requests and patches are welcome. Be sure to read the [source code style guide][codestyle].
Changes and new features typically get discussed in the issue tracker or on Discord or the forums before a pull request is made.
Compilation
-----------
### Windows
Follow the instructions at the [megasource][megasource] repository page.
### *nix
Run `platform/unix/automagic` from the repository root, then run ./configure and make.
$ platform/unix/automagic
$ ./configure
$ make
When using a source release, automagic has already been run, and the first step can be skipped.
### macOS
Download or clone [this repository][dependencies-apple] and copy, move, or symlink the `macOS/Frameworks` subfolder into love's `platform/xcode/macosx` folder.
Then use the Xcode project found at `platform/xcode/love.xcodeproj` to build the `love-macosx` target.
### iOS
Building for iOS requires macOS and Xcode.
#### LÖVE 11.4 and newer
Download the `love-apple-dependencies` zip file corresponding to the LÖVE version being used from the [Releases page][dependencies-ios],
unzip it, and place the `iOS/libraries` subfolder into love's `platform/xcode/ios` folder.
Or, download or clone [this repository][dependencies-apple] and copy, move, or symlink the `iOS/libraries` subfolder into love's `platform/xcode/ios` folder.
Then use the Xcode project found at `platform/xcode/love.xcodeproj` to build the `love-ios` target.
See `readme-iOS.rtf` for more information.
#### LÖVE 11.3 and older
Download the `ios-libraries` zip file corresponding to the LÖVE version being used from the [Releases page][dependencies-ios],
unzip it, and place the `include` and `libraries` subfolders into love's `platform/xcode/ios` folder.
Then use the Xcode project found at `platform/xcode/love.xcodeproj` to build the `love-ios` target.
See `readme-iOS.rtf` for more information.
### Android
Visit the [Android build repository][android-repository] for build instructions.
Dependencies
------------
- SDL2
- OpenGL 2.1+ / OpenGL ES 2+
- OpenAL
- Lua / LuaJIT / LLVM-lua
- FreeType
- ModPlug
- mpg123
- Vorbisfile
- Theora
[site]: https://love2d.org
[wiki]: https://love2d.org/wiki
[forums]: https://love2d.org/forums
[discord]: https://discord.gg/rhUets9
[irc]: irc://irc.oftc.net/love
[dependencies-apple]: https://github.com/love2d/love-apple-dependencies
[dependencies-ios]: https://github.com/love2d/love/releases
[megasource]: https://github.com/love2d/megasource
[unstableppa]: https://launchpad.net/~bartbes/+archive/love-unstable
[aur]: https://aur.archlinux.org/packages/love-git
[love-experiments]: https://github.com/slime73/love-experiments
[codestyle]: https://love2d.org/wiki/Code_Style
[android-repository]: https://github.com/love2d/love-android
[releases]: https://github.com/love2d/love/releases

+ 13
- 0
.build/make-exe.sh 查看文件

@@ -0,0 +1,13 @@
#!/bin/bash
path="./.build"

# Windows Folder
winPATH=$path"/builds/"$1"-win"
mkdir $winPATH

# Creating .exe
cat $path"/love/love.exe" $path"/builds/"$1.love > $1.exe
mv $1.exe $winPATH

# Moving dll's
cp $path"/win/"* $winPATH

+ 3
- 0
.build/make-love.sh 查看文件

@@ -0,0 +1,3 @@
#!/bin/bash
zip -9 -r $1.love . -x ./.build/**\* ./.git/**\*
mv $1.love ./.build/builds

二進制
.build/win/OpenAL32.dll 查看文件


二進制
.build/win/SDL2.dll 查看文件


二進制
.build/win/love.dll 查看文件


二進制
.build/win/lua51.dll 查看文件


二進制
.build/win/mpg123.dll 查看文件


二進制
.build/win/msvcp120.dll 查看文件


二進制
.build/win/msvcr120.dll 查看文件


+ 9
- 1
README.md 查看文件

@@ -14,7 +14,7 @@ In order to play this game you need to ...
For now this is the only way to play this game. In future there will be binary versions availabe.


### Installing Lua
### Installing Lua (optional)
Arch Linux:
`sudo pacman -S lua`

@@ -32,5 +32,13 @@ Windows:
https://love2d.org


## Building from source code
The script `build.sh` takes an argument (the project output name).

Simply execute `./build.sh [insert project name]` in your terminal. The builder compiles to a windows executable (.exe) and an executable love (.love) file.

Builds can be found in `./.build/builds/`!


## What's new?
*here will come changelogs in future*

+ 11
- 0
build.sh 查看文件

@@ -0,0 +1,11 @@
#!/bin/bash
project=$1

# Give Permissions
chmod +x -R ./.build

# Build .love
./.build/make-love.sh $project

# Build .exe
./.build/make-exe.sh $project

Loading…
取消
儲存