JayDawg Posted December 10, 2021 Share Posted December 10, 2021 Hi all, I am need of some help. I am in the process of building a game using pixi js. It is meant to be an open world game. I need to achieve something like this on desktop and then for it to be fullscreen in portrait and landscape on a mobile. Any help or guidance in the right direction is very appreciated as I have been stuck for many days Screen Recording 2021-12-09 at 2.01.30 PM.mov Quote Link to comment Share on other sites More sharing options...
yloquen Posted December 13, 2021 Share Posted December 13, 2021 Can you position your elements for a given size? Extract that in a function and call it each time the window resizes like so: window.addEventListener("resize", onResize); 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.