RPG Maker Forums

I was wondering if theirs any fix or if anyones figured a way to use PIXI.Graphics. For those that don't know, if you create a PIXI.Graphic it will mess up the windows rendering

Example:

I've found a few fixes myself. You can set "cacheAsBitmap" to true. But for my current plugin I don't want to do this because it reshapes multiple polygons every step. When I cache them as bitmaps, I'll have an fps of like 20-30 when moving. Without caching it can maintain 60.

Another fix, which is probably a really horrible idea. Is to reload the Graphics._renderer whenever a window opens, I'm doing this with:

Graphics._createAllElements()Since doing "._createRenderer()" by its self wasn't working.

But when doing this you will receive a warning in the console.

I also had another idea, of creating a second renderer and stage. But not sure if pixi allows for 2 webgl renderers and also sounds like a pretty bad idea.

So was wondering if anyone has a better solution. And if this an issue with how the Window class is written or is it from the PIXI version? since the PIXI.Graphics render function looks completely different in v3.0.8 which is what I used before MV came out to learn js.

Edit: Well looks like you can run two renderers

http://quasixi.com/lab/test.html

Even rewrote it for MV and runs fine now, But I'd rather wait on your guys opinion on having 2 renderers and if there's any other solution.

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,018
Messages
1,018,357
Members
137,803
Latest member
andrewcole
Top