A downloadable tool

Download NowName your own price

It's a image requireless (reverse) circle mask plugin for RPG Maker MV, as you may see in the film.


Use
$gameScreen.limitedView = a_number_in_0_included_to_1_included
to trigger the effect.
0 is what it oringinally looks like ; 1 for completely dark ; 0.5 is semi-


There's 2 variables control the size (in pixels) of the circle and gradient:
A._viewRadius1
A._viewRadius2

and provide getter functions for each respectively
A.viewRadius1()
A.viewRadius2()

'A' is an instance of either Game_Event or Game_Player

for getters of Game_Player, the default return values are
viewRadius1 will return 144 if _viewRadius1 is undefined, else _viewRadius1
viewRadius2 will return 240 if _viewRadius2 is undefined, else _viewRadius2

while the default return values of getters of Game_Event are:
viewRadius1 will return 0 if _viewRadius1 is false-like, else _viewRadius1
viewRadius2 will return 0 if _viewRadius2 is false-like, else _viewRadius2


You can also write

<light:a_number_you_want_1>
<lightG:a_number_you_want_2>

in note of Game_Event, and they will set the following:

_viewRadius1 = a_number_you_want_1*48
_viewRadius2 = (a_number_you_want_2*48||0) + (_viewRadius1||0)


You might need some time to fix bugs if the effect is triggered:
1. not showing events with priorityType is "above".
2. animations will not be shown.


You can edit the code as you want but you still cannot claim all of the edited code is your work.

You may or may not credit it as long as you bug it.
If you didn't buy, credit it if your game has a credit page.
If your game don't have a credit page, don't bother it.

feel free to donate:
doge: DApUzSKM8gfx43mTup13WyYo4k1oVDXJQG

Download

Download NowName your own price

Click download now to get access to the following files:

viewRadius.js 10 kB

Leave a comment

Log in with itch.io to leave a comment.