![phaser 3.0 is out phaser 3.0 is out](https://demo.documents.pub/img/378x509/reader019/reader/2020040814/5b2005d87f8b9ab3188b4f27/r-2.jpg)
This produces 175k bunnies (at 59fps) on my desktop.
![phaser 3.0 is out phaser 3.0 is out](http://soft-matter.seas.harvard.edu/images/0/06/Phdifig1.gif)
bunny and bunnyNPOT are two ‘bunny mark’ tests: ‘bunny’ by-passes all the sprite/layer logic to just pump the minimal location data to the simplest possible batch quad renderer.text is a test using my standard shaders to draw letters-as-sprites in three layers.invaders is a self-playing space invaders type game with missiles to pump up the sprite count a bit.This week: I haven’t done as much refinement of the API functions as I’d hoped to because I’ve been pumping out demos to test the basic functionality:
![phaser 3.0 is out phaser 3.0 is out](https://www.wincogen.com/wp-content/uploads/2019/09/LOW-WYE-120-208-1024x791.jpg)
Even so, here is his report for this week: Phaser 3 Renderer Progress We’re still in the experimentation stage. Note that not everything reported in here is guaranteed to land in Phaser 3. I asked Pete Baron, who is doing the core work on the new renderer to sum-up each week of development. Read Moreĭevelopment of Phaser 3 is already under way. This demo seems to slow down oddly when the window is not focused… I need to look into that (but it’ll be tough because it doesn’t do it when focused). In the WebGL window you can see the same texture transferred onto 10 separate WebGL textures, applied to pbSprites, and bouncing, scaling and rotating. The new demo has one Canvas texture (underneath the WebGL window) with a constantly changing background colour and a once-per-second number increment.
#Phaser 3.0 is out code#
It seems like the bottleneck will be texture transfer, the rest of the code is relatively simple and isn’t doing a lot of stuff that will likely stall the GPU. Rich mentioned that being able to transfer Canvas to WebGL textures is very important for a number of use cases, so I took a stab at wrapping it in a fairly accessible API call and did a few performance tests. The demos can be found here canvasToGl demo Here is his latest report: Phaser 3 Renderer ProgressĪll source and examples can be found in the phaser3 Git repo (and here is the commit log) Development of Phaser 3 is already under way.