[MV/MZ] Parallaxing with PIXI Particles (includes premade particles)

Description:
Through various tutorials I will teach you how to parallax using PIXI particles, this will allow you to do things such as have an unlimited number of parallaxes. Create moving water, weather effects, fires, etc. Attach images to the player, and even place images at the tilemap level that the player can run circles around creating a fake 3D effect. Or even create animations. The sky's the limit, and you'll never look at particles the same way again. :LZSexcite:

Requirements:
RPG Maker MV or MZ

These tutorials use the following plugin.
Particle Emitter https://forums.rpgmakerweb.com/inde...ter-easy-making-particle-effects-in-mv.97729/

Spoiler: Particle Emitter Script Command Reference
$gameMap.createPEmitter(id, [imageNames], config, this._eventId);
$gameMap.setPEmitterPos(id, x, y);
$gameMap.setPEmitterZ(id, z);
$gameMap.deletePEmitter(id);

Note: In place of this._eventId you may use a specific event number or -1 for the player.

Spoiler: Tutorial 1: Using particles to have unlimited parallaxes


This first tutorial covers using a scenery particle to have an unlimited number of parallaxes, and a bit about animation. It also covers the basics of setting up Particle Emitter, along with the basic 4 commands that we will be using for most of the tutorials.

Link to the Scenery Particle
https://www.mediafire.com/file/e963a7i4j003vzk/scenery.json/file

Spoiler: Tutorial 2: Movable particles for "3D" parallaxing


This second tutorial convers a movable particle, and demonstrates how to attach images to the player or events at the tilemap level. This images will then follow the location of the target. It also demonstrates how to allow the player to run around an image giving the appearance of it being 3D.

Link to Movable Particle:
https://www.mediafire.com/file/iintiqdrolm85ge/movable.json/file
@ImaginaryVillain Isn't this particle emitter only for MV? Is it really work in MZ, too?
Btw. I agree that particles is soooo powerful, I'm really dissapointed they did not implemented this as a default feature in MZ.
@ImaginaryVillain Isn't this particle emitter only for MV? Is it really work in MZ, too?
Btw. I agree that particles is soooo powerful, I'm really dissapointed they did not implemented this as a default feature in MZ.
Presumably they figured the particle engine provided by Effekseer would be enough.
@ImaginaryVillain Isn't this particle emitter only for MV? Is it really work in MZ, too?
Btw. I agree that particles is soooo powerful, I'm really dissapointed they did not implemented this as a default feature in MZ.
Pretty certain I mention it in the video, but if I didn't the reason for using the script commands is that they work for both MV and MZ. The person who made the plugin left the community some years back, and their terms says the plugin can't be edited. So it's not currently possible to have MZ style plugin commands.

As for it being a default feature, well... There's a lot of stuff that GGG should have made default in MZ. But they've always had a "let the community fix it" mentality, so we're stuck with scenarios like this.


Presumably they figured the particle engine provided by Effekseer would be enough.

To be honest it probably would have been if their implementation was better. If you get a chance to mess with HUD Maker Ultra Pro, SRD produced a far stronger implementation of it. More memory efficient and better placement options.

Even I did some tweaks to make the base ones usable in the tilemap, it honestly doesn't take much, the fault definitely isn't with Effekseer itself. That being said, in all my testing MZ can't handle enough Effekseer particles to build a the whole map like I do with PIXI particles. Though with extensive rewrites to how it handles them, it might be possible... It would be an interesting experiment.
if you cannot alter the particles plugin itself, you could make an
MZ version for plugin command if that makes it easier?

as a side note, I also read hat scriptcalls are readed a slightly faster
and better than using plugin commands.

but nice tutotial which also might have 1 slightly disadvantage.
which is, you cannot see the maps direcltly on the editor or set colissions,
which can be set after or in front to remove later as I see it.

I didn't even know it was even possible for parallax mapping like that 🙂
if you cannot alter the particles plugin itself, you could make an
MZ version for plugin command if that makes it easier?

as a side note, I also read hat scriptcalls are readed a slightly faster
and better than using plugin commands.

but nice tutotial which also might have 1 slightly disadvantage.
which is, you cannot see the maps direcltly on the editor or set colissions,
which can be set after or in front to remove later as I see it.

I didn't even know it was even possible for parallax mapping like that 🙂

To be honest the version I use is altered, though not to use plugin commands. I did update the version of PIXI Particles included to vastly increase performance. But I haven't really had the time nor desire to make a new version of the plugin just to use plugin commands, mostly because I don't find them particularly useful, and they're massively more resource intensive if called by another plugin versus just a script call.

I did consider adding them to my visuals plugin, but before I do that.... I should probably actually release it to the public. 😅

As for problems with this method... Yeah, those have been a constant plague to me. It's why I often refer to my game as basically the Matrix. Everything is just code, and the visuals are only there when the game is actually running. It's even worse for the particles that build visuals during runtime such as moving water, or fires.

If MZ had built in visuals like that, that could be easily moved around it could be a far more powerful engine. Clearly it's possible, the problem is with the editor itself. They should probably take a lesson from QMap and Ultra HUD Maker as examples of standalone programs that just "do it better" than RM for visuals.

The same's true for collisions, QMap lets you place collisions visually. Doing it now like I do with QMovement is pretty awful, it requires setting the numbers then loading it up and see if it's close, closing the program, changing the numbers and repeating until it's right. It wouldn't be so bad if it's just grid spaces, but it's especially rough with poly colliders.

Still for the power of doing your graphics with PIXI Particles provides, it's worth all that. Just wait until I show everybody how to do other stuff with it. There are more tutorials to follow. :LZSwink:


This second tutorial convers a movable particle, and demonstrates how to attach images to the player or events at the tilemap level. This images will then follow the location of the target. It also demonstrates how to allow the player to run around an image giving the appearance of it being 3D.

Link to movable particle:
https://www.mediafire.com/file/iintiqdrolm85ge/movable.json/file

Original thread: https://forums.rpgmakerweb.com/threads/mv-mz-parallaxing-with-pixi-particles-includes-premade-particles.155372/