rmmz-ts
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

rmmz-ts

rmmz-ts is a series of TypeScript definitions for RPG Maker MZ.

Use in TypeScript or JavaScript

Just install the package and in your .js/.ts files, it will automatically be picked up by the Editor.

$gameActors.actor(1)._
                   - _actionInputIndex
                   - _actionState
                   - _actions
                   - _actorId
                   - _battlerName
                   - _buffs
                   ...

If you want more tips in js, use it in your .js file:

// @ts-check

If you use jsconfig.json or tsconfig.json, you should also add the following settings to enable the definitions.

{
  "compilerOptions": {
    "types": ["rmmz-ts"]
  }
}

To be completed

1.namepace and var of StorageManager & Window are occupied in the browser context, so they can't be pickup directly. Luckly, the StorageManager are not used frequently, so do the Window(usually use Window_Base). 2.the class Inpterpreter has many functions to complete, they will be set soon. Thanks.

Readme

Keywords

Package Sidebar

Install

npm i rmmz-ts

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

237 kB

Total Files

13

Last publish

Collaborators

  • rfvtgbzxc