holywyvern / mv-pixi-upgrade

A base project than uses PIXI V3 and not V2.
Creative Commons Zero v1.0 Universal
13 stars 3 forks source link

Sprites swaps textures for a frame #8

Open holywyvern opened 8 years ago

holywyvern commented 8 years ago

There is some strange flickering with textures sometimes.

It happens on both map and battle.

More prominent with battlers.

Hudell commented 8 years ago

Consistently happens on a demo I have here. My map displays 17 tiles on screen and I have an event on X = 17. When I move left and the map scrolls left, hiding that event, the spriteset flickers on screen.

holywyvern commented 8 years ago

It still happens sometimes, right? So there may be a problem there for now...

Hudell commented 8 years ago

Yes, on webGL mode there are still other things flickering on the screen. In canvas mode I didn't find anything else, but I haven't checked inside battles yet.

Canvas mode is currently running in stable 60fps, while webGL runs in 20~40fps for me.

holywyvern commented 8 years ago

Strange because after the tilemap plugin was made I am having an steady 60 fps. We may need to considerer the specs of each pc in order to view if the tilemap made with shaders is fast. (of course, on intel chips without graphical acceleration it may be slower than a vanilla implementation)

ivanpopelyshev commented 8 years ago

Im a bit busy, but next time i'll be available, I'll fix EVERYTHING in this conversion.

Hudell commented 8 years ago

Oh, I didn't use the tilemap plugin yet.

holywyvern commented 8 years ago

Try to use it, it will run better