Ad
Log in to vote
1

Why does the ImageLabel Position Change?

Asked by 6 days ago

I am making a game that has shift lock for mobile but when I test it on my Phone it's misplaced.

This is where the button is supposed to be: https://ibb.co/YbLDKxx

This is where it's supposed to be on mobile (same place): https://ibb.co/ySPgGMV

This is where it is when testing: https://ibb.co/SJY0jP4

I have no clue why this happens, if someone knows how to fix this please let me know.

3 answers

Log in to vote
0
Answered by 5 days ago

I think I know what problem is, you see your interface is disabled, if it was not when you would test game in studio there would be black transparent line on top of the screen, that are is not visible in roblox studio so when you will press play it looks like all your UI Went' down

this is my speculation tho, I am beginner and I have had similar problem like this, all I did was take my UI bit higher at area which was not visible in studio

Ad
Log in to vote
0
Answered by 5 days ago

You don't really know about this. Since its size is much smaller than your pc that you are running, its scale/offset makes it so that it sets it in the device position. If the offset is 0, 15, 0, 15, a pc that is 1620x1080 will set the position to 0, 1605, 0, 1065. If it is 600x800 on a mobile device, it'll be 0, 585, 0, 785.

------- SOLUTIONS ------------ 1: Use scale, even tho it will not do much of a difference. 2: Use the Auto-Scale plugin. 3: Just keep it if none of the above solutions work.

0
None of the solutions work aydenwilson819 21 — 5d
0
guis always do that ryanzhzh 71 — 5d
0
guis always do that ryanzhzh 71 — 5d
0
So then how do I make it not change position? aydenwilson819 21 — 4d
View all comments (2 more)
0
idk, you'll need to use a lot of complicated things, one is to somehow get the size of a device and using the emulator for positions. i'll no longer commenting on this thread anymore ryanzhzh 71 — 4d
0
I got it, it was pretty simple lol I just had to enable IgnoreGuilnset. aydenwilson819 21 — 1d
Log in to vote
0
Answered by 5 days ago

You can’t make a custom topbar button yourself anymore. To really make a custom topbar button, you must use the TopbarPlus module by ForeverHD. This is the DevForum post and documentation on how to use it.

0
I wasn't aiming for that, I just wanted the button to be at the top as it would look nicer aydenwilson819 21 — 5d

Answer this question