HaxeFlixel / flixel-demos

Collection of demos for HaxeFlixel
https://haxeflixel.com/demos
425 stars 290 forks source link

PixelPerfectCheck performance issues #286

Open Geokureli opened 3 years ago

Geokureli commented 3 years ago

I don't understand why, but for some reason PixelPerfectCollision runs poorly at the start, but improves greatly if you press space twice, toggling rotation on and off. I tried disabling the initial tweens and that had no effect.

If anyone has a clue as to why this could be happening, I'm all ears. otherwise this isn't a great showcase of flixel's performance on web.

Geokureli commented 3 years ago

While I'm opening issues for this demo, might as well show this one. https://imgur.com/6G8cul5

it seems to be a web gl render issue. it doesn't happen when everything is the same color. Normally, several aliens flicker, where some are consistently solid. but in this case I seem to have found some arrangement where I can trigger the issue by changing the color of a specific one

Geokureli commented 2 years ago

FYI, I changed the demo so that it starts off without rotation, but it still happens if enabled by default