Why does layout vary on different computer ?

Davidmarks
Game design is progressing nicely but when I copied file over to laptop running windows 10 all the nice layout I had produced to minimise scrolling appears to have gone and I have a very unsatisfying layout . Can I do anything about this ! I had assumed that once things looked good on one machine they would be ok on another !

TinFoilMkIV
I'm certainly no expert, but my first guess would be difference in screen resolution perhaps?

Davidmarks
So does this mean that if my game is viewed by folk with a different resolution it could look less than effective ?

TinFoilMkIV
Assuming this is the factor that's affecting the layout, then yes, I don't know that for sure, that's just my first guess.

EDIT: a way to check would be to change the resolution settings on the computer you were first working on, if you have it available, and see if it alters the layout in a similar way.

The Pixie
You do not need to change the resolution, just change the size of the browser and see what happens.

Davidmarks
If I change the size of the window in which the game is running, the game remains the same size rather than reducing to fit the window , should this be the case ?

The Pixie
Yes. And that indicates that changing the screen resolution is probably not the issue. As far as the browser is concerned, the screen size is thesize of the browser.

Are you using any fancy JavaScript/CSS/HTML trickery in your game? Can you post screenshots?

Davidmarks
The only "trickery" I am using is the HTML code in your post about images in other words:

"<img src=\"" + GetFileURL("p1010472e.png") + "\" style=\"float:left;width:700px; padding:15px;:1000px;\" />"

and the following (again from a forum post) under the game/ script tab (Can't for the life of me remembere why !! )

eval ("$('#compassLabel').css('display', 'none')")
eval ("$('#compassAccordion').css('display', 'none')")

Not sure what screen shots you mean (this game is getting pretty large 70 odd locations and quite a few images)

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums