Skip to content

Base project for creating tools and plugins for RPGMakerMV/MZ with LunaTea.

License

Notifications You must be signed in to change notification settings

LunaTechsDev/LunarBase

Repository files navigation

LunarBase

This is the LunaTechs base RPG Maker plugin development project. Its used to demonstrate and show you our basic workflow with Haxe and LunaTea.

Getting Started

A quick guide to getting started with LunarBase.

Before starting be sure to download and install Node & Git.

  1. Clone this repository
git clone https://github.com/LunaTechsDev/LunarBase.git
  1. Install node dependencies
npm install
  1. Install LunaTea & dependencies
npx lix download

Compiling a Plugin

You can compile the test plugin by running the following command

npm run compile

You can also use LunaWizard to compile your plugin

luna-wizard build

See LunaWizard for further information

Watch for Changes

You can watch for changes in the source files by running the following command

npm run watch

You can also use LunaWizard to watch for changes

luna-wizard build compile.hxml --watch ./src

See LunaWizard for further information

Updating LunaTea

To update LunaTea we use the lix package manager to install from GitHub the latest version of LunaTea.

npx lix install gh:LunaTechsDev/LunaTea

Itch Automation

LunarBase 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_username

If 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_slug

Example Plugin

The 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

About

Base project for creating tools and plugins for RPGMakerMV/MZ with LunaTea.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published