PIXI V2 to PIXI V3

Hackerham

Developer
Developer
Joined
Oct 27, 2015
Messages
82
Reaction score
68
First Language
Russian
Primarily Uses
Ignore that error. Look at 118 vs 327, rpgmaker bitmap is 3 times slower! Other browsers work ok.
 

Ramiro

Now with an army of Mecha-Ralphs!
Veteran
Joined
Aug 5, 2015
Messages
858
Reaction score
364
First Language
Spanish
This will only make blts faster, I don't really know if this will improve tilemap's speed, they were already rendered on another texture.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,555
Reaction score
3,801
First Language
English
Hey, I don't mind if blt's are improved 3x.


Also, for tilemaps, I may be interested in, for example, swapping tiles...


Though that might not require any blt work since I'm changing ID's.
 
Last edited by a moderator:

MuteDay

Mutation Engine
Veteran
Joined
Oct 19, 2015
Messages
253
Reaction score
39
First Language
English
im planning on testing if you would like you can add me on skype mutation_industries@live.com
 

Ramiro

Now with an army of Mecha-Ralphs!
Veteran
Joined
Aug 5, 2015
Messages
858
Reaction score
364
First Language
Spanish
UPDATE:

Yesterday TiledSprites started to behave properly, after some fight with them.

Now looking why tere is flickering on sprites with custom frames... (if they use an static frame this doesn't happen)
 

Dr.Yami

。◕‿◕。
Developer
Joined
Mar 5, 2012
Messages
1,003
Reaction score
757
First Language
Vietnamese
Primarily Uses
Other
/me is waiting for Ramiro's PIXI V3 update to work on some simple shaders.
 
Last edited by a moderator:

Hackerham

Developer
Developer
Joined
Oct 27, 2015
Messages
82
Reaction score
68
First Language
Russian
Primarily Uses
I'm working on new tilemaps for pixiv3.

I'll make tests on rpgmaker, tiled and on gameofbombs. I will compare execution times for multiple ways of rendering:

0) render everything everyframe

1) render everything into several textures (current rpgmaker approach)

2) form UV's for webgl

3) form UV's for webgl using glPoints mode

As for other performance issues, game logic costs most of CPU time.
 

Ramiro

Now with an army of Mecha-Ralphs!
Veteran
Joined
Aug 5, 2015
Messages
858
Reaction score
364
First Language
Spanish
/me is waiting for Ramiro's PIXI V3 update to work on some simple shaders.
If you do:

this._mySprite = new Sprite(Cache.picture('img'));this._mySprite.filters.push(new PIXI.filters.AsciiFilter());It has to work... I believe, but I'm near the "stable phase" well, if you can considerer the same stage as MV "stable"... of course
 

MuteDay

Mutation Engine
Veteran
Joined
Oct 19, 2015
Messages
253
Reaction score
39
First Language
English
have you fixed the water based sprites not animating right for me they are animating 1 row works ok then 2 rows wont work are stagnant then repeats
 

MuteDay

Mutation Engine
Veteran
Joined
Oct 19, 2015
Messages
253
Reaction score
39
First Language
English
also would like to report massive lag when it comes to having 1) large maps then even worse with animated sprites like water
 

Ramiro

Now with an army of Mecha-Ralphs!
Veteran
Joined
Aug 5, 2015
Messages
858
Reaction score
364
First Language
Spanish
have you fixed the water based sprites not animating right for me they are animating 1 row works ok then 2 rows wont work are stagnant then repeats
I'm not touching the default classes's behaviur if they are broken they'll keep being broken.

At least for now, the idea is to migrate to pixi v3 not to solve bugs, that's not the scope of this repo right now.

After migration, I'll dedicate any improvement into bugfixes, but don't expect that for now...

Please, report the issues at github first, then read if they are not already there...

Keeping track of bugs on blog pots is hard.
 
Last edited by a moderator:

MikePjr

Artist
Veteran
Joined
Nov 7, 2012
Messages
758
Reaction score
463
First Language
English
Primarily Uses
I been testing this since i realized it's here, it actually works when it comes to the blending features.

I'm using it with a fog plugin, it's fine with one fog.. but if i add more than 1 layer of panning layers it starts having trouble.

I just like that the blendmodes work better.
 

Ramiro

Now with an army of Mecha-Ralphs!
Veteran
Joined
Aug 5, 2015
Messages
858
Reaction score
364
First Language
Spanish
That would probably be pixi's own behaviour, but yes the idea is there.

Hackerman is actually rewritting tilemap entirely, to make the animations with shaders (so they will be faster than the method used in RM)

So tilemap is going to have improvements soon.

I am just too busy with mvplugins to work with this ATM... (But I won't abandon this)
 
Last edited by a moderator:

MikePjr

Artist
Veteran
Joined
Nov 7, 2012
Messages
758
Reaction score
463
First Language
English
Primarily Uses
Ah alright. Well i will keep testing. Won't hurt to.
 

Hackerham

Developer
Developer
Joined
Oct 27, 2015
Messages
82
Reaction score
68
First Language
Russian
Primarily Uses
Im testing tilemaps right now, I will commit them in a hour or two :)
 

Hackerham

Developer
Developer
Joined
Oct 27, 2015
Messages
82
Reaction score
68
First Language
Russian
Primarily Uses
Ok, tilemaps are ready, please test them.

+ Tilemap is fast and doesnt use extra textures, only vertex buffers

+ Animations are handled by shaders

+ Fixed memory leak in tilemaps

+ Fixed memory leak in snap()

- Canvas fallback is slow, 5x slower than vanilla while scrolling.

* there's possible leak in TilingSprite and Sprite._tinttexture
 
Last edited by a moderator:

Hackerham

Developer
Developer
Joined
Oct 27, 2015
Messages
82
Reaction score
68
First Language
Russian
Primarily Uses
Ok, shaderTilemap is a plugin now. And I use vanilla tilemap for canvas fallback.
 

Kane Hart

Elmlor.com
Veteran
Joined
Jun 27, 2014
Messages
656
Reaction score
166
First Language
English
Ok, tilemaps are ready, please test them.

+ Tilemap is fast and doesnt use extra textures, only vertex buffers

+ Animations are handled by shaders

+ Fixed memory leak in tilemaps

+ Fixed memory leak in snap()

- Canvas fallback is slow, 5x slower than vanilla while scrolling.

* there's possible leak in TilingSprite and Sprite._tinttexture
Is there a way we can ever make canvas fallback 5x faster rather then slower lol? Android devices seem to be mostly using canvas.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

My garbage collection service has the BEST hold music I've ever heard. Sometimes, I legitimately hope to be on hold for more than a few minutes just to hear the song to completion.
Streaming now, maybe it will work this time!
Part of me is really missin' the good 'ol days of RM '95... goodness just seems like such simpler times
Just got two Switch E-Shop 20$ gift cards... Is 3D All-Stars worth it? Or should I get something like Celeste? I'd love to know your opinion!
I’m looking at the MZ full body images and I think Priscilla is taller than Reid...

Forum statistics

Threads
103,052
Messages
996,961
Members
134,524
Latest member
Kyrienheit
Top