RPG Maker Times

Smile Game Builder and RPG Maker Tutorials, Plugins, Resources, Windowskins

Useful JGSS/Javascript Functions Plugin (RMMV)

While looking through various MV functions, notably "String" and "Number", I noticed a distinct lack of them.

So I created some of my own and thought I’d share them. And it took me AGES to figure out how to do some of them!

No doubt there are better methods for doing these too; they are presented "as is" and they work.

Some are simple, some are well-known, and some aren’t. I put them together (mainly for personal use) in a single plugin, but someone may benefit from any or all of these, easily implemented and integrated in your code.

Useful JGSS/Javascript Functions PluginMain FunctionsUsage InstructionsUpdate LogPersonal NotesPlugin RequirementsDownloadFuture UpdatesTerms of Use
Version: 1.0
Author: Companion Wulf
Platform: RMMV
Script Type: Scriptlet
Required: None
Fileseze: 4 Kb
File Format: JS
Release Date: 15 March 2016
Last Update: 13 March 2016
This plugin allows you to add the following functions to your code:

  • Capitalize First Letter
  • Capitalize Each Word
  • Capitalize All Letters
  • Reverse Text
  • Reverse Words
  • Convert to L337
  • Decimal Points
  • Number Round Up
You can use these in your code as:


So, for example, with the Capitalize All Letters function, you’d use the
following in your code:

   var string = "Convert to caps";

And the result would be:


  • v1.0.0 (15-Mar-2016)
       —RELEASE: Version 1.0 (Public)

  • v0.8.0 (13-Mar-2016)
       —ADD: Convert to L33T
       —ADD: Decimal Points
       —ADD: Number Round Up
  • v0.5.0 (11-Mar-2016)
       —ADD: Reverse Words
       —ADD: Reverse Text
  • v0.3.0 (10-Mar-2016)
       —ADD: Capitalize All Letters
       —ADD: Capitalize Each Word
       —ADD: Capitalize First Letter
       –Created JGSS Function Add-Ons Plugin
Several of these arose out of necessity for Otherworld, where I needed some extra functions – such as reverse text for messages that can only be read in a mirror – and these aren’t present in the "String" class.

These were intended for personal use only and I put them into a single plugin to use them in future projects as needed.

I released this publicly so that others might benefit from any or all of them and add extra functions to the game. This way they can be easily integrated into a game’s code.

The plugin must be installed in RMMV’s Plugin Manager to run.
Copy and paste the scriptlet between Materials and Main.
More functions will be added as inspiration strikes.
You are free to use this in non-commercial and commercial projects, but please refer to the RPG Maker Times blogsite for other details, including commercial use.

Credit "Companion Wulf" or "RPG Maker Times" if using this plugin in your projects.



Latest Twitter Tweets

Hi-Tex House Pack Vol. 1

For Smile Game Builder

The Hi-Tex House Pack Vol. 1 contains 297 assets: 284 house wall terrains and 13 models. Get your copy for only $5!

Sponsored Ad

Sponsored Ad

© 2008-2018, Companion Wulf. All Rights Reserved.