JosPixi Posted September 24, 2020 Share Posted September 24, 2020 Im developing a game where i need to load the HTML content. the content of these files will change a lot in the future, so you need to make sure that your code is able to handle any HTML text and display it on the screen, outside the PIXI canvas. I have attached the sample HTML file Can anyone suggest how to load the external HTML file into Pixi js. payout.html Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted September 24, 2020 Share Posted September 24, 2020 You can position html content in div on top of canvas. reference code is here: https://github.com/pixijs/pixi.js/blob/dev/packages/accessibility/src/AccessibilityManager.ts#L342 , of course you have to copy parts and modify them. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.