Jump to content

moving container with filters terrible for performance


bbyford
 Share

Recommended Posts

HELLO!!!! So I'm working on a frogger type game and I thought the easiest way to constantly move everything forward was to add all sprites to a "main" container and move the main container X times per second... this works ok when the movment increment was 0.5 or 1 pixel eahc time (I started by making the movement a function of the deltatime but got lots of judder, so i clamped it instead to a 0.5 value each increment). However adding ANY filters to the main container looks aweful and performance goes way down.

Is there any thoughts about how this could be improved as I'd love to be able to use a titlshift filter while still keeping the sprites moving constantly without too much of a pixellated look.

Link to comment
Share on other sites

4 minutes ago, ivan.popelyshev said:

sorry, no AA inside filters and any kind of framebuffer operations. Its webgl limitation. Yes, its possible to enable it with WebGL2 with a tax on performance , but you say your performance is shit already :)

bummer. cool thanks (what does AA mean?)

Link to comment
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...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...