Recommended Posts

Hey Guys, I'm currently moving my camera around a series of sprites but the movement is painful to look at and jerky when moving the sprites and especially with higher speeds, is there anything you can do to fix/help the lag/poor performance as it isn't really usable as a build in this current state.

I also as @Wingnut said have the issue that the transparent background is still clickable.

Here is my current playground:

@Deltakosh @Wingnut @JohnK Any incites Guys?

Share this post

Link to post
Share on other sites
14 hours ago, Deltakosh said:

After thinking about it I think you can get the pixel coordinate with:

                    var u = this.pointerX - pickResult.pickedSprite.position.x;
                    var v = this.pointerY - pickResult.pickedSprite.position.y;

(not tested but should work)

Where and how do I implement this?

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.

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.


  • Recently Browsing   0 members

    No registered users viewing this page.