UI Toolkit

Reply
Accepted Solution

Why is my screen resolution stuck at 854 x 480?

I made a UI in 960x544, but when i run the app, i get stuck at 854 x 480?

 

 

Please use plain text.

Level 3

Level 3
niwrA
Posts: 152
Registered: ‎31-07-2008
Message 2 of 5 (304 Views)

Re: Why is my screen resolution stuck at 854 x 480?

On the simulator or on the Vita? The simulator has a different resolutions from the Vita. Remember that PS Suite is aimed at various phones and tablets as well as Vita, so you should try to handle different resolutions gracefully.
Please use plain text.

Level 2

Level 2
JWordsworth
Posts: 16
Registered: ‎22-04-2012
Message 3 of 5 (298 Views)

Re: Why is my screen resolution stuck at 854 x 480?

[ Edited ]
What niwrA says is 100% correct, you should ensure that your UI will work on any screen by having some screen elements with fluid sizes to compensate.

However, if you would like to force what size the simulator is (I tend to force mine to the PS Vita size, as that is the platform I mainly want to target!), then the simulator will pick up the first two parameters of your GraphicsConext constructor call and use that screen size. For instance, where you define / construct the GraphicsContext in your AppMain class...

Private GraphicsContext mGraphics = new GraphicsContext(960, 544, PixelFormat.Rgba, PixelFormat.Depth24, MultisampleMode.None);
Please use plain text.

Level 3

Level 3
niwrA
Posts: 152
Registered: ‎31-07-2008
Message 4 of 5 (294 Views)

Re: Why is my screen resolution stuck at 854 x 480?

Thanks JWordsworth, that's a great tip. Really helps me too with quickly testing my UI Wizard project under a bit more extreme circumstances.

Please use plain text.

Re: Why is my screen resolution stuck at 854 x 480?

[ Edited ]

Thanks for all the responses! after a hiatus, i'm getting back on my project.

Please use plain text.
Announcements

Welcome to the PlayStation Mobile Developer Forums


This is a community for the discussion of technical topics with other developers and SCE engineers. Posting ideas/requests are also appreciated. Join the discussion!

PlayStation®Mobile開発者フォーラムでは世界中の開発者の皆様と一緒に、議論や情報交換が可能です。SCEも議論に参加し、皆様の開発をサポートします。アイデアやリクエストも大歓迎です。ぜひご参加ください。

PSM Developer Registration (for free) on PSM DevPortal is required to post on the forum.
Please sign out then sign in again to the forum and PSM DevPortal after you have completed the registration.

フォーラムへ投稿をするにはPSM DevPortalへの登録(無料)が必要です。
登録後はフォーラムと PSM DevPortalを一度ログアウトし、再度ログインしてください。