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 / How to hide green Line appears

Author
Message
ikenstar
10
Years of Service
User Offline
Joined: 26th Apr 2013
Location:
Posted: 8th Nov 2013 14:43
I made a game for the resolution 600*1024. If I install the build in 800*1280 resolution device a green line appears at the borders. Is there anyway to hide those lines ?

Rakesh-

Attachments

Login to view attachments
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 8th Nov 2013 16:06
I have never seen a green line appear on devices with different aspect ratios than the app target.

Usually it is just the extra black bar spaces above/below or left/right.

And the line appearing on one side and at the bottom is very unusual.

Are you using the SetScissor command at all?

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
ikenstar
10
Years of Service
User Offline
Joined: 26th Apr 2013
Location:
Posted: 9th Nov 2013 13:47
Yes I am using SetScissor Command. If I comment this command, then the line dissapear. How can I fix this?

Rakesh-
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 9th Nov 2013 17:06
As I said, I've never seen the green line appear and I also use setscissor.

Can you show the code you use to set up the display and display the image/sprite in the picture?

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master

Login to post a reply

Server time is: 2024-04-25 12:16:20
Your offset time is: 2024-04-25 12:16:20