Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,176
Reaction score
1,659
First Language
Portuguese - Br
Primarily Uses
RMMZ
I have used other RPG makers before but since the script thingie changed in MV I'm trying to figure out.
The information thatis in the plugin manager is this:
and I don't understand where or how to do to have the images locked.
''
Changelogs

=============================================================================

v1.2 - 09/04/2019

- Changed: Allow lock position for looped layer.

- Changed: Auto Scroll X and Y has decimal numbers for slower scroll

speed.

- Added: "change" plugin command.

v1.1a - 06/01/2019

- Fixed: Blinking issue with animated layer that is caused by the bitmap

that is not yet loaded.



v1.1 - 04/01/2019

- Removed: Lock X to Map parameter.

- Removed: Lock Y to Map parameter.

- Changed: Layer Order parameter.

- Added: Global Switch parameter.

- Added: Layer Z parameter.

- Added: Lock Position parameter.

- Added: Layer Loop parameter.

- Added: setEvent plugin command.

- Added: setOpacity plugin command.

- Added: setEvent plugin command.



v1.0 - 01/01/2019

- Initial release.



=============================================================================

• Map Notetag

=============================================================================

<parallax: PRESETNAME, NAME[, MAXFRAME]>

- Add a new layer to the map.

- PRESETNAME: Preset Name in the Parallax Presets parameter.

- NAME: Base name that will be used for parallax filename, replacing %3.

- MAXFRAME: Only if the parallax is animated. Maximum frame.

Example:

The preset filename is %1_%3, and the notetag is <parallax: Preset,

testing>, and the map ID is 5, the actual filename will be 5_testing.



=============================================================================

• Plugin Commands

=============================================================================

parallaxUtils setEvent PRESETNAME EVENTID

- Set event ID to layer that has the PRESETNAME.

Ex. parallaxUtils setEvent Particle Event 5



parallaxUtils setOpacity PRESETNAME VALUE

- Set layer opacity.

- VALUE: 0 to 255.

Ex. parallaxUtils setOpacity Doodads 128



parallaxUtils setPosition PRESETNAME X Y

- Set layer shift X and shift Y.



parallaxUtils change MAPID [PRESETNAME:oRIGINALNAME] [NEWNAME] MAXFRAME

- Change parallax name to a new name.

- MAPID: Map ID can be set to 0 for current map id.

- PRESETNAME: Preset name in the plugin parameter. Case sensitive.

- ORIGINALNAME: The parallax name in the map notetag.

- NEWNAME: Parallax new base name.

- MAXFRAME: Only necessary for animated parallax.

Ex. parallaxUtils change ParallaxUtils change 3 [Doodads:decor] [decor2]

parallaxUtils change ParallaxUtils change 0 [Animated Light:light] [overlay] 4''
Map note tags
Plugin commands, I already see two ways of doing it.
You will have to try, otherwise, you will never learn.
 

Maferu

Villager
Member
Joined
Mar 19, 2020
Messages
8
Reaction score
0
First Language
spanish
Primarily Uses
RMMV
Map note tags
Plugin commands, I already see two ways of doing it.
You will have to try, otherwise, you will never learn.

Okay thank you for nothing. I was just asking for help, If someone could explain it to me so I CAN learn something I can't understand. Is that so much to ask? Not very friendly of your part.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,229
Reaction score
731
First Language
English
Primarily Uses
RMVXA
Okay thank you for nothing.
Now who is not being friendly!

Eliaquim was being direct in stating that what your asking to do is stated right in the script (and actually in the text that you provided).
Your frustration seems to be that you do not understand how to read. Not saying anything against you, but it was written in the text.
Now if you do not know how to apply the plugin commands in the way you want then just say so. "I don't know how those would work for me".

A fixed image on a map would use the map note-tag for instance,
• Map Notetag
<parallax: PRESETNAME, NAME[, MAXFRAME]>

and it is all explained with an example in the plugin text you posted.
- Add a new layer to the map.
- PRESETNAME: Preset Name in the Parallax Presets parameter.
- NAME: Base name that will be used for parallax filename, replacing %3.
- MAXFRAME: Only if the parallax is animated. Maximum frame.
Example:
The preset filename is %1_%3, and the notetag is <parallax: Preset,
testing>, and the map ID is 5, the actual filename will be 5_testing.

So, if you do not know about parallax, then say so.
Otherwise, please be more polite to those that are helping.
 

Restart

Veteran
Veteran
Joined
Mar 15, 2019
Messages
848
Reaction score
707
First Language
English
Primarily Uses
RMMV
Hello,

I think there's something wrong with how numbers are getting parsed when parallaxes get attached to events. Here's an example with the demo project:

Default Settings and Light Position:
2Tt6Lid.png

UUV8unK.png

Light is attached to target event

What happens if I increase Y?
SpADRYo.png

la0ULnu.png

It moves diagonally?


What happens if I make X positive?
la17Vyq.png

gtvmr0z.png

No change.

EDIT: found the bug, you have
Code:
Game_ParallaxLayer.prototype.initialize = function (presetName, baseName, maxFrame, originalName) {
    this._presetName = presetName;
    this._presetIndex = Dhoom.ParallaxUtils.getPresetIndex(presetName);
    this._originalName = originalName;
    this.setBaseName(baseName);
    this._sx = 0;
    this._sy = 0;
    this._frame = 0;
    this._frameDuration = 0;
    this._maxFrame = maxFrame || 1;
    this._opacity = 255;
    this._fadeOpacity = this.minFade();
    this._fadeDir = 1;
    this._eventId = this.preset().lock.eventId;
    this.setPosition(this.preset().lock.shiftY, this.preset().lock.shiftY);
};
but it should be
Code:
Game_ParallaxLayer.prototype.initialize = function (presetName, baseName, maxFrame, originalName) {
    this._presetName = presetName;
    this._presetIndex = Dhoom.ParallaxUtils.getPresetIndex(presetName);
    this._originalName = originalName;
    this.setBaseName(baseName);
    this._sx = 0;
    this._sy = 0;
    this._frame = 0;
    this._frameDuration = 0;
    this._maxFrame = maxFrame || 1;
    this._opacity = 255;
    this._fadeOpacity = this.minFade();
    this._fadeDir = 1;
    this._eventId = this.preset().lock.eventId;
    this.setPosition(this.preset().lock.shiftX, this.preset().lock.shiftY);
};
 
Last edited:

ProfessorCreepyPasta

Horror Creator
Veteran
Joined
Mar 23, 2015
Messages
88
Reaction score
6
First Language
English
Primarily Uses
RMMV
I can't figure out how to make the fog appear in my own project with this plugin. When I use the Demo, the fog appears fine but if I try to insert it into my own project, the fog wont show up. I don't understand what I'm doing wrong. I copied all of the parallax images over.
 

Latest Threads

Latest Profile Posts

Just released a new trailer for Manafinder! It's the TGS trailer! :D I'm very happy with the result!
sooo... im gonna go ahead and release all my game ideas on android as Beta. Everyone will be nice right? cause its Beta... right?...

AABS traps and heals (detail is below the YTB desc)
 I may actually have something I can put into the Boss Battle Build Bout by the time it’s due. It won’t be anything spectacular (or even great (and maybe not even good (I have no idea how to do combat (yay for nested parentheses)))), but I might have a submission none the less.
Today's my first login since Jan 2020. Time sure flies. Sorry to everyone's messages i missed.

Forum statistics

Threads
115,411
Messages
1,089,656
Members
150,150
Latest member
Moss-eater
Top