DGS Custom Plugin
Jump to navigation
Jump to search
What is?
DGS has basic elements and plugins. Plugins in DGS are something that can be used like normal DGS elements, can be applied to a DGS elements, or can interact with DGS elements...
Why?
In DGS, we have a lot of basic elements and some plugins. But when it comes to more complicated things which can be implemented with dx functions easily, using existing DGS elements and plguins seems to be strenuous.
To Solve The Problem:
This document is for creating custom plugins that can implement complicated dx draws, which are also regarded as DGS elements. This means, your plugins will be able to support all of the basic functions of DGS.
How?
- To get started, you must know how to use DGS. Or close this page and learn DGS.
- The following tutorial shows how to create a custom DGS plugin example by hand.
- DGS environment is required.
Create A File
- 1. Get into the folder "DGS/plugin/", and create a file named "myPlugin.lua". This file is our protagonist.
- 2. Open the "'meta.xml" of DGS, and find this string "'"