https://github.com/nikouu/mgba-lua-helloworld
Simple hello world using lua with mGBA.
https://github.com/nikouu/mgba-lua-helloworld
hello-world lua lua-script mgba
Last synced: 11 months ago
JSON representation
Simple hello world using lua with mGBA.
- Host: GitHub
- URL: https://github.com/nikouu/mgba-lua-helloworld
- Owner: nikouu
- License: mit
- Created: 2023-10-04T01:56:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-05T08:28:36.000Z (over 2 years ago)
- Last Synced: 2025-04-06T08:08:51.672Z (11 months ago)
- Topics: hello-world, lua, lua-script, mgba
- Language: Lua
- Homepage:
- Size: 93.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mGBA lua Hello World
Simple hello world using lua with mGBA.
## How to run
1. Get the `HelloWorld.lua` file from this repository.
1. Open mGBA.
1. Click `Tools > Scripting` to open the Scripting window.

1. In the scripting window click `File > Load script` to bring up the file picker dialog.

1. Select `HelloWorld.lua` from where you saved it.

1. The Hello World script will automatically run to display the "Hello World" message.

## Documentation
Scripting documentation can be found on the [mGBA Scripting Docs page](https://mgba.io/docs/scripting.html).
The `console:log` documentation used in this demo is found under the [console documentation section](https://mgba.io/docs/scripting.html#method-Console.log).