isladjan

Need help regarding issue in codepen with pixi.js

Recommended Posts

Hi there,

CodePen seems to have a problem when open some of the Pens in a new Tab (inactive tabs)  - animation won't start in that Pen. You need to manually refresh Tab or open console to make animation start. This only happens in Chrome and new Edge Browser (in Firefox everything working normally) and only occurs when Pen opens in a new tab. 

It happens very often in Pens with PIXI.JS or sometimes when using gsap.

The very annoying issue when surfing on CodePen main page and try to open more Pens on new Tab.

Here's some examples (my Pens with PIXI.js) -> try to open in new Tab and wait a few seconds before access that tab:

https://codepen.io/isladjan/pen/mdeXepz

https://codepen.io/isladjan/pen/rNOqOqZ

https://codepen.io/isladjan/pen/abddjNb

 

I try a few quick fixes, but they don't seem to work. Did anyone else face this issue? Can someone please help me with it?
 

Share this post


Link to post
Share on other sites

Welcome to the forums!

We just had that kind of discussion: 

Seriously, whats up with you people not trying to learn new pixi?

https://codepen.io/ivanpopelyshev/pen/RwrjEaL?editors=0010

Materials:

1. everything in mesh-and-shaders starting from https://pixijs.io/examples/#/mesh-and-shaders/triangle-color.js

2. application stuff - https://github.com/pixijs/pixi.js/wiki/v5-Custom-Application-GameLoop

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.