Sign in to follow this  
Followers 0
gamify

DOM popup

5 posts in this topic

I need onhover popup dom element exactly top right of sprite but the dom element is taking position mismatch how to maintain standard position just above the sprite so please can anyone help on this

domelement.png

Share this post


Link to post
Share on other sites

Not too sure of the specific answer, but be sure to keep in mind that the sprite positions will be world based, and you need screen based. Further more, if the canvas doesn't take up the whole screen, you'll need to account for the offset position relative to the html body of the canvas element itself.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.