Test yout layouts (screen emulator)

Discussion of tools and resources for game developers

Post » Tue Nov 17, 2015 1:43 am

So I've been testing the ability to do a dynamic layout, automatically adjusting itself between portrait and landscape and making everything resize properly. One snag I ran into, I only have one mobile phone. I searched the forums for this and didn't find anything so, here's a resource I found that does work with C2.

quirktools.com/screenfly

You'll need a url to upload your HTML5 export to, but once you do, I can verify this tool works. I created a test project and using Screenfly, it properly reported WindowWidth and WindowHeight for every 'device' and tablet size it had listed. More importantly, my app was also able to get accurate Viewport information. As the Screenfly device size changed, the Viewport readings changed. And it continued to report accurately when the Screenfly screen was rotated (essential information if you want to keep things centered)
B
15
S
6
Posts: 124
Reputation: 1,737

Post » Tue Nov 17, 2015 2:05 am

Seems useful, Glad to know this utility exist.
ImageImage
B
111
S
51
G
24
Posts: 786
Reputation: 23,392

Post » Tue Nov 17, 2015 2:18 am

Ohh its really nice thing useful!
Thanks a lot!!
B
6
S
1
Posts: 6
Reputation: 441

Post » Tue Nov 17, 2015 10:02 am

@Fengist you don't need to export the game, just run the C2 preview and copy/paste the preview url " http://localhost:50000/ " to screenfly.
B
36
S
11
G
9
Posts: 399
Reputation: 10,283

Post » Tue Nov 17, 2015 10:31 am

If you are using chrome, then there's a nice little extension Window Resizer. Been using it for over a year now and it works flawlessly.
ImageImageImageImage
B
158
S
66
G
43
Posts: 2,603
Reputation: 35,868

Post » Tue Nov 17, 2015 11:53 am

Message: Fengist is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
cesisco wrote:@Fengist you don't need to export the game, just run the C2 preview and copy/paste the preview url " " to screenfly.


I'm not sure what voodoo they use to access my local network but... ok.

shinkan wrote:If you are using chrome, then there's a nice little extension . Been using it for over a year now and it works flawlessly.


Thanks, this does seem to work too. Only thing I don't like about it, you don't get a physical size representation, only a pixel by pixel. But for a quick test, it'll do.
B
15
S
6
Posts: 124
Reputation: 1,737

Post » Tue Nov 17, 2015 2:14 pm

Physical size representation?
ImageImageImageImage
B
158
S
66
G
43
Posts: 2,603
Reputation: 35,868

Post » Tue Nov 17, 2015 2:35 pm

Yea. Screenfly seems to not only give you the resolutions, it's screen shrinks down to give you a physical size representation. Handy if you want to know how big your sprites are going to appear. The chrome plugin just resizes the browser.
B
15
S
6
Posts: 124
Reputation: 1,737

Post » Thu Nov 19, 2015 6:27 pm

It does sound useful, I must fight my usual paranoia and give it a try... :)

Thanks
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Fri Nov 20, 2015 5:37 pm

One thing to watch out for, neither of them 'rotate' the browser when you select landscape. You'll probably still need a mobile for that.
B
15
S
6
Posts: 124
Reputation: 1,737

Next

Return to Tools and Resources

Who is online

Users browsing this forum: No registered users and 2 guests