How to Stay inside a background object with different devices
-
The project is designed for iPad in portrait (4:3), and I want it to work on taller iPhones (like 19:9) without ever seeing outside my background.
On iPad, I don’t need any Screen Follow because everything already fits nicely in the screen.
On iPhone, since the device is taller and shows less content horizontally, I want the view to follow the player (Screen Follow), but it must stay clamped inside my big background object.
Basically, I need a system where the screen only moves on iPhone, and never beyond the edges of my background.
The final goal is that, on any device, the player should never see anything outside the original iPad background area.So I use a get screen and a if to switch from iPad to iPhone that part is okay.
But after that, I don’t know how to do… -



-
I would like to be able to stay in the iPad format for if you will.
The follow screen doesn’t work.
There should be a function that I’m not aware of.Stay in object or stay in background.
-
I would need something like conform to screen. But not the current screen. Confirm to iPad screen when I am on iPhone. Something like that.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login