PIXI V2 to PIXI V3

Hackerham

Developer
Developer
Joined
Oct 27, 2015
Messages
82
Reaction score
68
First Language
Russian
Primarily Uses
Is there a way we can ever make canvas fallback 5x faster rather then slower lol? Android devices seem to be mostly using canvas.
I moved everything in separate plugin, please enable it in rpgmaker window. It uses original canvas implementation if there's no webgl:

```javascript

this._tilemap = Graphics.isWebGL()? (new ShaderTilemap()) : (new Tilemap());

```
 

xhh2a

Villager
Member
Joined
Nov 2, 2015
Messages
7
Reaction score
0
First Language
English
Interesting, will look into integrating this into my rewrite of quite a bit of MV's classes. Keep up the good work. :)
 

MikePjr

Artist
Veteran
Joined
Nov 7, 2012
Messages
555
Reaction score
234
First Language
English
Primarily Uses
So is this something i download or what? I'm sort of confused.
 

Hackerham

Developer
Developer
Joined
Oct 27, 2015
Messages
82
Reaction score
68
First Language
Russian
Primarily Uses
1. Git Clone this: https://github.com/holywyvern/mv-pixi-upgrade .

2a. copy "js" and "html" files into your project.

2b. OR copy all your project into that folder, that way you wont change original project.

3. open editor and add/enable "shaderTilemap" plugin
 
Last edited by a moderator:

Ramiro

Now with an army of Mecha-Ralphs!
Veteran
Joined
Aug 5, 2015
Messages
860
Reaction score
366
First Language
Spanish
The tilemap is rewritten as a plugin, so you may just download that plugin and put it in your project.

It works with both v2 and v3 versions
 

Hackerham

Developer
Developer
Joined
Oct 27, 2015
Messages
82
Reaction score
68
First Language
Russian
Primarily Uses
The tilemap is rewritten as a plugin, so you may just download that plugin and put it in your project.

It works with both v2 and v3 versions
It doesnt work with v2, only with your conversion.

I pushed this version into repo, so there's no need to download plugin separately from mv_pixi_upgrade :)
 
Last edited by a moderator:

xhh2a

Villager
Member
Joined
Nov 2, 2015
Messages
7
Reaction score
0
First Language
English
You should use the split js files version instead of the humongous singular files. Just my two cents.
 

MikePjr

Artist
Veteran
Joined
Nov 7, 2012
Messages
555
Reaction score
234
First Language
English
Primarily Uses
Well, for the most part it seems to run fine for me.

Though i do notice some glitching graphics that pop in the first time you boot up the game and run into a troop of enemies, it appears at first, then each battle after that it no longer appears. It's the only issues i have found thus far.

In fact i'm using a fog script,  And i have 4 different fogs using 4 different blend mods all scrolling in 4 different directions.. no a bit of lag, stays at a steady 60FPS for me.

I do notice slight lag when you come up close to the edges of the map, it struggles for a moment drop down to 30FPS then zips back up to 60 once you move against the edge of the screens.

Otherwise i find it awesome i can even show multiple pictures and it works swimmingly!
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,340
Reaction score
3,042
First Language
Portuguese
Primarily Uses
RMMV
Tried it on a small project I use as a demo and I got a lot of bugs and slow FPS, even after removing all the plugins I had.

I'll see if I can fix anything myself.

The most obvious issue I got :

An entire spriteset randomly blinks on screen when I'm walking through bushes. It also appears when I first load the game but only once.

Edit: According to chrome's profile, the method that is responsible for the lag is textImage2D, used when drawing the auto tiles.

Don't know if that profile tool is reliable.
 
Last edited by a moderator:

Ramiro

Now with an army of Mecha-Ralphs!
Veteran
Joined
Aug 5, 2015
Messages
860
Reaction score
366
First Language
Spanish
You know, we actually have a list of issues at github for that kind of bugs, and the flickering is already reported...



If you plan to have an update in fps, consider using the tilemap plugin included.

If you really find out a new one then, report it... If you didn't don't worry, I'll mark as duplicate the issue :p

And no, the flickering does not happend when you cross bushes, it happens anytime, even on battle when you change motions, that's why it's hard to look for why it happens.

It may be a relation between them and the animation offsets...
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,340
Reaction score
3,042
First Language
Portuguese
Primarily Uses
RMMV
Ah, right.

Anyway I'll try to look into it myself.

Already found a way to reproduce it consistently.
 
Last edited by a moderator:

eivl

Villager
Member
Joined
Jun 12, 2013
Messages
20
Reaction score
1
First Language
English
Primarily Uses
Ah, right.

Anyway I'll try to look into it myself.

Already found a way to reproduce it consistently.
How can this be reproduced?
 

Anisoft

Great Desu King
Veteran
Joined
Jun 17, 2015
Messages
94
Reaction score
74
First Language
English
Primarily Uses
So how has progress been? I've noticed a lot of great changes/improvements. I've looked at some of the code myself and will try to see if I can make any changes myself though I'm not making any promises. 

So far I've noticed an improvement when using the blur filters. In MV v2 if you used a blur filter set to 0, the image would still be slightly blurred, in v3, no such thing happens, so its great to know that works!
 

Ramiro

Now with an army of Mecha-Ralphs!
Veteran
Joined
Aug 5, 2015
Messages
860
Reaction score
366
First Language
Spanish
It's still just as it was like a month ago, not really any different, I am quite busy at work and I'm working on other things for now really.

I am experimenting with webgl on my own, for now.
 

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
14,730
Reaction score
14,575
First Language
Filipino
Primarily Uses
VNM
Ei guys, just to bump it up. I would like to reward the hardworkers on this project! Please PM me for any incentive you might want :D
 

Kane Hart

Elmlor.com
Veteran
Joined
Jun 27, 2014
Messages
656
Reaction score
166
First Language
English
Ei guys, just to bump it up. I would like to reward the hardworkers on this project! Please PM me for any incentive you might want :D
Replacement of the original dev team with these guys would be a start :p
 

Hackerham

Developer
Developer
Joined
Oct 27, 2015
Messages
82
Reaction score
68
First Language
Russian
Primarily Uses
 @Archeia I PM'ed you. Im one of contributors in pixi.js, we are ready to help :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

*Buys all the PVGames assets, ends up creating his own ground tiles.* At least I used the other types of graphics? Right? :kaoswt:
If you could fold a sheet of paper 42 times, the stack would reach from the earth to the moon. Do whatever you want with that information.
wishing that everyone stays safe at this time
Ami
4 days im not using my laptop to waiting someone to reinstall (sigh)
Stream will be live shortly with some Donkey Kong 64! Feel free to drop by!

Forum statistics

Threads
95,493
Messages
929,577
Members
125,744
Latest member
FoxStyle
Top