This is the LunaTechs base RPG Maker plugin development project. Its used to demonstrate and show you our basic workflow with Haxe and LunaTea.
A quick guide to getting started with LunarBase.
Before starting be sure to download and install Node & Git.
- Clone this repository
git clone https://github.com/LunaTechsDev/LunarBase.git- Install node dependencies
npm install- Install LunaTea & dependencies
npx lix downloadYou can compile the test plugin by running the following command
npm run compileYou can also use LunaWizard to compile your plugin
luna-wizard buildSee LunaWizard for further information
You can watch for changes in the source files by running the following command
npm run watchYou can also use LunaWizard to watch for changes
luna-wizard build compile.hxml --watch ./srcSee LunaWizard for further information
To update LunaTea we use the lix package manager to install from GitHub the
latest version of LunaTea.
npx lix install gh:LunaTechsDev/LunaTeaLunarBase includes GitHub workflow actions that automatically build and publish your plugins to itch.io
The GitHub actions use the repository name and organization name which itch uses for the url, so you need to ensure the url exists before the GitHub action will work properly.
For example https://organization.itch.io/repository_name
If your project is not under an organization and you're using our project as a base for your own projects then you will need to edit the GitHub action workflows.
You only have to change ITCH_USER to your itch username.
# Change this line
ITCH_USER: ${{ github.event.organization.name }}
# To something like this
ITCH_USER: your_usernameIf you don't want to use the repository name then you may also change the
ITCH_GAME to the url slug to your itch project page.
# Change this line
ITCH_USER: ${{ github.event.repository.name }}
# To something like this
ITCH_USER: you_project_url_slugThe example plugin is a working hello world example which demonstrates how to create a basic plugin using LunaTea. Its documented to show you some of the common concepts in plugin development and how to accomplish that using our Haxe toolset.
Find the example plugin in the src directory