Why does layout vary on different computer ?
Davidmarks
28 Nov 2015, 17:57Game 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
28 Nov 2015, 19:34I'm certainly no expert, but my first guess would be difference in screen resolution perhaps?
Davidmarks
28 Nov 2015, 20:25So does this mean that if my game is viewed by folk with a different resolution it could look less than effective ?
TinFoilMkIV
28 Nov 2015, 20:29Assuming 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.
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
28 Nov 2015, 21:55You do not need to change the resolution, just change the size of the browser and see what happens.
Davidmarks
29 Nov 2015, 09:46If 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
29 Nov 2015, 10:11Yes. 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?
Are you using any fancy JavaScript/CSS/HTML trickery in your game? Can you post screenshots?
Davidmarks
29 Nov 2015, 22:56The only "trickery" I am using is the HTML code in your post about images in other words:
and the following (again from a forum post) under the game/ script tab (Can't for the life of me remembere why !! )
Not sure what screen shots you mean (this game is getting pretty large 70 odd locations and quite a few images)
"<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)