Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/badduck32/loverunner
Small application for quickly testing your LÖVE2D projects on Android
https://github.com/badduck32/loverunner
love2d tool
Last synced: 8 days ago
JSON representation
Small application for quickly testing your LÖVE2D projects on Android
- Host: GitHub
- URL: https://github.com/badduck32/loverunner
- Owner: badduck32
- License: mit
- Created: 2023-01-06T20:32:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-11T22:52:09.000Z (about 2 years ago)
- Last Synced: 2024-11-29T00:21:58.418Z (2 months ago)
- Topics: love2d, tool
- Language: Lua
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LÖVErunner
Small application for quickly testing your LÖVE2D projects on Android.
Using this, you will be able to create a shortcut on your home screen that will run a specified LÖVE2D project and this will automatically
contain the latest updated changes of your project.## Disclaimer
**This doesn't work in LÖVE2D version 11.4.** The latest version I've tested is version 11.3. It's possible that it works with 11.4 on your device,
but I personally didn't get it to work.## Setup
The setup is a bit tedious due to restrictions to what LÖVE2D can access in Android, but once it's set up it's seamless.To get this tool to work, edit line 2 to the directory of your project. This directory should have a main.lua file directly under it.
Here's an example of how this would look:```local gamedir = "/storage/emulated/0/Love2D/test"```
Once you edited this correctly, you can pack the main.lua into a .love file, and upon running it, this file will automatically run your project with its latest changes
**NOTE:** *If your project contains a conf.lua file, add it as a sibling to this repository's main.lua file and pack it together in 1 .love file*
An extra step to make the process even more streamlined is to create a shortcut to this .love file that you just created on your home screen.
The app I personally used for this is [Shortcut Maker.](https://play.google.com/store/apps/details?id=rk.android.app.shortcutmaker)## Credits
The mounting code was taken straight from [rgram](https://github.com/rgrams)'s [UnRestricted FileSystem](https://github.com/rgrams/urfs)