Author Topic: Issue with tiled sprites - reporting bug  (Read 3073 times)

stc105

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Issue with tiled sprites - reporting bug
« on: December 17, 2013, 12:49:45 AM »
First time poster, long time user.

Just upgraded to 3.0.7 f3 today, and a tiled sprite that is same size as screen has a weird glitch where a line exist that is transparent (pixels not being drawn?). I have attached a picture, this is running inside unity editor (game view). The tiled green grass sprite is dimensions 800 x 600 at depth 1. The sprite behind it is blue with the same dimensions but depth 0.

I expected the screen to be completely green, but what I get is a small blue line in the green grass sprite. If I change the green grass sprite's dimensions to 801 x 600 or 799 x 600, the blue line goes away.

Prior to updating, every worked, from NGUI 2.x, NGUI 3.0.6, up to today when I upgraded. I am pretty well antiquated with NGUI so I am sure it is not a settings or script error. I will be rolling back my version till this is fixed.

Oh also (but unrelated), last time I switch to publish for Flash I got an error about some variable being ambiguous . So I casted it , and the whole console exploded with errors. Does the newer versions of NGUI support Flash?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Issue with tiled sprites - reporting bug
« Reply #1 on: December 17, 2013, 12:20:15 PM »
Yes, the latest version supports Flash. Since you said you have 3.0.7 f3, it should work out of the box.

For tiled sprites, make sure you specify a border. Border of 1 pixel is enough to avoid lines.

bezii

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 19
    • View Profile
Re: Issue with tiled sprites - reporting bug
« Reply #2 on: January 18, 2014, 03:04:55 AM »
Hmm, just curious how do you guys export to flash from unity? Wasn't flash removed from the unity engine? Are there any ways to export my unity game to flash?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Issue with tiled sprites - reporting bug
« Reply #3 on: January 18, 2014, 09:51:45 PM »
Flash licenses aren't being sold, but those that have them can still export to Flash. Unity just doesn't support it anymore.