Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,044
Reaction score
1,521
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,195
Reaction score
723
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
834
Reaction score
671
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
87
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 Posts

Latest Profile Posts

My first game is gonna be a really ambitious one. But it's costing me a lot of money to make lol. it'll be worth it though
Ugh...Guests always put the Ketchup in the fridge....bloody savages the lot of them! :)
daysbetweendatescalculator.jpg
It may be useful for some weird purposes in the game and outside the game.:kaojoy:
I'm taking a break from Game Work to actually play a game (NEO: The World Ends With You) and I'm terrified that I'm gonna lose the drive for my project, since prior to picking up NEO, I'd been doing at least a little bit of work on the project each day ahhh. My brain is very much an "all or nothing" kind of brain, sigh.
bandicam 2021-08-05 15-10-37-143.png
Configuration menu and icons test

Forum statistics

Threads
113,951
Messages
1,078,623
Members
148,056
Latest member
srabon
Top