韓国語を使用して損傷の数字を示すことができるプラグイン – RS_HangulDamages_babel.js

タイトル
This plugin allows you to indicate the damage digits using Korean language
作者名
ヘルプ
===================================================================
Test Script
===================================================================
Note that Korean damage text will not show up until the damage value
must exceed at least 10,000 or more.

var target = $gameTroop._enemies[0];
target.gainHp(-100101150);
BattleManager._logWindow.clear()
BattleManager._logWindow.displayHpDamage(target);
target.startDamagePopup();

If you copy and enter the above a piece of the code into the console
during a battle, the damage sprite will be displayed.

===================================================================
How to specify Korean numeric table parameters
===================================================================
The sprite sheet is filled with 10 numbers horizontally.

You have to specify the index for each cell,
then the index value is specified a number value from 0 to 9.

In the parameter called "Hangul digits table", you must specify a
JSON data as follows.

Note the index value starts with 0.

{
"만": 1,
"억": 2,
"조": 3,
"경": 4,
"해": 5,
"자": 6,
"양": 7,
"X": 8
}

The text called "X" indicates an index of the empty cell in it.

===================================================================
Change Log
===================================================================
2018.07.07 (v1.0.0) - First Release
2018.07.08 (v1.0.1) :
- 데미지 비트맵을 미리 불러옵니다.
- 표기법을 수 표기법 맞춤법에 맞춰 수정하였습니다.
2018.08.30 (v1.0.2) - 속도가 더 향상되었습니다.
2019.01.09 (v1.0.4) :
- 양(10^28) 까지 표시 가능
- 자릿수가 클수록 스프라이트가 더 높이 튀는 현상을 해결하였습니다.
2019.06.13 (v1.0.8) :
- 기본으로 제공되는 이미지에 새로운 자릿수를 추가하였습니다.
- 지수 표현을 쓰지 않고 숫자 값을 그대로 표시합니다.
- 배틀 로그에도 한글 데미지 값이 적용됩니다.
- 스위치 문을 제거하였습니다.
パラメータ
param damageBitmapName
text Damage bitmap name
desc When you are deploying the game, we need to that doesn't remove the image that this plugin uses.
require 1
dir img/system/
type file
default Damage_1

param hangulDigitsTable
text Hangul digits table
type note
desc allows you to consist of Hangul Digits Table.
default ""

param hangulBaseRow
text Hangul base row
type number
desc Specify the line index of the numeral adjective for Korean Hangul in the default image.
default 5

param missBaseRow
text Miss base row
type number
desc Specify the line index of image for MISS in the default image.
default 4

param bounceLevel
text Bounce Level
type number
desc if the digits is too high, the damage sprite can bounce off far.
default 5
min 0

ライセンス表記
  • MIT License
The MIT License
Copyright (c) 2018 biud436
Free for commercial and non commercial use.

紹介ページ https://github.com/biud436/MV/blob/master/RS_HangulDamages_babel.js