https://github.com/jcash/defold-lu-multiple-mounts
Example project for using multiple mounts
https://github.com/jcash/defold-lu-multiple-mounts
Last synced: about 1 year ago
JSON representation
Example project for using multiple mounts
- Host: GitHub
- URL: https://github.com/jcash/defold-lu-multiple-mounts
- Owner: JCash
- Created: 2024-01-05T15:07:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-11T08:28:00.000Z (over 2 years ago)
- Last Synced: 2025-01-24T12:45:32.584Z (over 1 year ago)
- Language: Shell
- Size: 807 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LiveUpdate example with a single mount
This example shows how to add and remove a mount using `liveupdate.add_mount()` and `liveupdate.remove_mount()`.

## Build
Download the bob.jar
$ ./setup.sh
Build+bundle the game, using the liveupdate settings.
$ ./build.sh
_Note:_ It generates a big Live Update archive (.zip), which we'll use in this example.
## Run the game
Option 1: Loading directly from disc
$ ./bundle_new/LiveUpdateMounts.app/Contents/MacOS/LiveUpdateMounts
Option 2: Downloading via HTTP
* Start a local http server (default port 8000):
$ (cd build/big_lu_archive && python -m http.server)
* Boot the game
$ ./bundle_new/LiveUpdateMounts.app/Contents/MacOS/LiveUpdateMounts --config=test.http_url=http://localhost:8000