Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Limited Sight EX [Deleted]

Status
Not open for further replies.

Boy Who Codes

Praised Adventurer
Xy$
0.00
Soul submitted a new resource:

Limited Sight EX - Limited the sight / visibility range of the player.


Limited Sight EX RPG Maker Plugin by Soulpour777

Description:

I know how much we love to make Horror Games for RPG Maker. With this plugin, you will be able to limit the player’s sight or visibility range, to create that seemingly isolated range for your characters.
Read more about this resource...
 

eivl

Local Hero
Xy$
0.00
how clever, is it an alpha map that follows the player?
[doublepost=1448407250,1448406978][/doublepost]and why do you use the Imported object for?
you are using your Soulpour777 object for everything else.
[doublepost=1448407428][/doublepost]Finished reading your code, it is very clever done. Does changes done in events persist through saving and loading a game or will it return to the default value?
 

Boy Who Codes

Praised Adventurer
Xy$
0.00
It will still persist the data, this means that the limited sight image will still be there upon saving. The imported function, allows me to create variables on an own separate part from the Imported class I made. So it won't clash with other variables from the plugins I do. It makes me create objects that holds information I want. One last reason I do that is personally a preference.
 

eivl

Local Hero
Xy$
0.00
I see.. Well the import object looks like something you would do in ruby and not JS, but i see that it is personal preference ;)
 

Boy Who Codes

Praised Adventurer
Xy$
0.00
You can also do that in JS. To be short, it allows me to have my own module variables that I can call and separate from global variables, and so even if I have a repeated variable of the same name, they won't clash, since they were of a different module.
 

eivl

Local Hero
Xy$
0.00
You are correct, but my original question was why you use it when you have Soulpour777
JavaScript:
var Imported = Imported || {};
  Imported.LimitedSight = true;
  var Soulpour777 = Soulpour777 || {};
You could just as easily save everything in the Soulpour777 namespace.
What Imported looks like is when you are not able to check what plugins have already been loaded.
It looks like a coding convention brought from VXAce.
[doublepost=1448441902,1448441830][/doublepost]But a very nice plugin, i am just curious ;)
 
hello! i am a very basic user of RPG Maker MV. i know next to nothing about scripting or computer language. can anyone help me get this plug in working? I tried to use the help file but I need someone to hold my hand so to speak on the steps to turn on the basic function of this plug in. any help is greatly appreciated. i can be reached on here or at my email, jeremiahquill@gmail.com

-Jerry
 

Boy Who Codes

Praised Adventurer
Xy$
0.00
Well first of all, you need to place the images in the right folder. Then copy the js file and place it under the plugins folder. Installing the plugin comes in next. If you have no idea how that goes, here's a video explaining how to install a plugin:

 
Spent the day doing a lot of trial and error. Was confused about activating it through a control switch event. finally stumbled upon it. I'm bad at this :( thanks a bunch for taking the time to reply and thank you for the plugin.
 
Status
Not open for further replies.
Top