An open API service indexing awesome lists of open source software.

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.

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.
![](img/ScripingMenuItem.jpg)
1. In the scripting window click `File > Load script` to bring up the file picker dialog.
![](img/LoadScript.jpg)
1. Select `HelloWorld.lua` from where you saved it.
![](img/FilePicker.jpg)
1. The Hello World script will automatically run to display the "Hello World" message.
![](img/RunningScript.jpg)

## 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).