[RESOLVED] Graphics 2.0 - Bad Performance (Image Loading)

Thanks for all of the feedback. In the upcoming daily build, we have changed the default behavior to load textures at the time of the newImage call.

To opt-out of this and lazy load the image, we added a new option: display.setDefault( “preloadTextures”, false )

Super! This sounds like a best fit solution for all. Thank you very much.

what did happen to the promised 5000 fish on screen at a time? I spent a lot of time migrating my game to 2.0 as I had numerous sprites onscreen at the same time so 2.0 sounded great. But now, well, to see no improvement in performance and on occasion even perform worse then 1.0 is a huge disappointment. Also, what happened to daily builds? The last one 2100 is from way back in dec 7.

This works great! Thank you! :slight_smile:

This isn’t be needed anymore as of build 2087:

Release notes for build 2013. through 2013.2087

Core: Adding new option to display defaults to preloadTextures via display.setDefault( “preloadTextures”, true/false ) (default is true to function like graphics 1.0)

If I use storyboard.loadScene(), do I also have to set the flag?

Put it another way, does the storyboard.loadScene() count as loading images with alpha=0 for the new engine??

what did happen to the promised 5000 fish on screen at a time? I spent a lot of time migrating my game to 2.0 as I had numerous sprites onscreen at the same time so 2.0 sounded great. But now, well, to see no improvement in performance and on occasion even perform worse then 1.0 is a huge disappointment. Also, what happened to daily builds? The last one 2100 is from way back in dec 7.

Is there an update on the Graphics 2.0 performance issues. I too have updated my game only to see a huge reduction in fps (especially on console platforms like GameStick). It looks like I will have to go back to Graphics 1.0 unless this is going to be fixed soon?

What issues are you having exactly?

Hi Matthew,

Same problems as others in this topic, the performance seems to have taken a drastic hit since graphics 2.0 was released? I’m now getting max 30-40 fps on gamestick rendering my game nearly unplayable compared to 50fps prior to graphics 2.0.

Hi Matthew,

Same problems as others in this topic, the performance seems to have taken a drastic hit since graphics 2.0 was released? I’m now getting max 30-40 fps on gamestick rendering my game nearly unplayable compared to 50fps prior to graphics 2.0.

Sorry for the double post, was using my mobile :/.

Hi nglenister

Have you looked into the preloading issues that were causing some fps drops?

The reason is that programming directly into graphics 2.0, I’m able to shift and transform around a hundred of polygons without any performance drop at all. Used to make a 3D engine.

Can you strip out a lot of the game code and replicate the issue?

Matt

Is there an update on the Graphics 2.0 performance issues. I too have updated my game only to see a huge reduction in fps (especially on console platforms like GameStick). It looks like I will have to go back to Graphics 1.0 unless this is going to be fixed soon?

What issues are you having exactly?

Hi Matthew,

Same problems as others in this topic, the performance seems to have taken a drastic hit since graphics 2.0 was released? I’m now getting max 30-40 fps on gamestick rendering my game nearly unplayable compared to 50fps prior to graphics 2.0.

Hi Matthew,

Same problems as others in this topic, the performance seems to have taken a drastic hit since graphics 2.0 was released? I’m now getting max 30-40 fps on gamestick rendering my game nearly unplayable compared to 50fps prior to graphics 2.0.

Sorry for the double post, was using my mobile :/.

Hi nglenister

Have you looked into the preloading issues that were causing some fps drops?

The reason is that programming directly into graphics 2.0, I’m able to shift and transform around a hundred of polygons without any performance drop at all. Used to make a 3D engine.

Can you strip out a lot of the game code and replicate the issue?

Matt