Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Android / Graphical differences between Windows and Android versions of game

Author
Message
=PRoF=
16
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 23rd Feb 2012 23:24
Hi guys,

I'm sorry these images may be a little bit large, but I thought I'd do like for like comparisons and shrinking the images didn't display the discrepancies properly.

This first picture is my game (Slimeblast! coming soon, keep checking our site for news ) running under windows.


and here is exactly the same code running under the AppGameKit Player on Android.


Now I'm sure the eagle eyed ones amongst you have spotted the problem already, but for those who are not so observant, I'd like to draw your attention to the "boxes" which appear to be drawn around the slime squares in the android version.

My question is why is this happening? I suspect it's a problem with the Android AppGameKit player, but as is always the case, it could just as easily be me doing something stupid with my code.

Has anyone else experienced anything like this?

Thanks in advance as always.

bjadams
AGK Backer
11
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 25th Feb 2012 18:34
Most probably the problem is related to the fact that on Windows the screen size is set to 100% of the actual game graphics, and on Android its being resized down, hence the results in the 2nd pic
=PRoF=
16
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 25th Feb 2012 20:24
Nope, the Windows one is running windowed at 1280 x 800; the Android screen size is 1280 x 800; and both are using the same media.

In each instance the game media is being scaled up in size.

MrValentine
AGK Backer
8
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 27th Feb 2012 16:09
from my semi-limited web knowledge...

Padding?

Paul Johnston
TGC Developer
16
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 27th Feb 2012 18:53
probably due to non power of 2 images getting padded into power of 2 images on mobile devices, but not on Windows. How is the green pixel storage as an image?
=PRoF=
16
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 27th Feb 2012 22:52
@Paul Johnston:
You were completely right Thanks for that.

All of the blue and green sprites were stored as images based on 20x20 pixel tiles.

MrValentine
AGK Backer
8
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 27th Feb 2012 23:02
Yup ^2 precisely right Paul...

Login to post a reply

Server time is: 2019-08-26 10:01:40
Your offset time is: 2019-08-26 10:01:40