Closed zaikman closed 11 years ago
Hello Zaikman,
The version of ex2D you are using is too old. The pixel-perfect component have been modified for many times after v1.2.0. And the recommend version is ex2D v1.2.5. However, I'm still need to confirm if the pop-up for pixel perfect still exists.
Would you mind to upgrade ex2D to v1.2.5 or a latest version (v1.2.6 beta). And please send me an E-Mail asking the daily build if you don't have it.
Hello,
I made sure to upgrade to v1.2.5 and I'm still seeing this artifact, unfortunately. Would it help if I took some screenshots of the bug to show you what's happening?
Thanks, -Zach
On Tue, Aug 7, 2012 at 6:51 PM, Wu Jie notifications@github.com wrote:
Hello Zaikman,
The version of ex2D you are using is too old. The pixel-perfect component have been modified for many times after v1.2.0. And the recommend version is ex2D v1.2.5. However, I'm still need to confirm if the pop-up for pixel perfect still exists.
Would you mind to upgrade ex2D to v1.2.5 or a latest version (v1.2.6 beta). And please send me an E-Mail asking the daily build if you don't have it.
— Reply to this email directly or view it on GitHubhttps://github.com/jwu/ex2D_Runtime/issues/41#issuecomment-7572863.
Co-Founder / Grand Poobah -- Fishbeat, LLC http://www.fishbeat.com
Hi Zikman,
If you can send me a example project for this problem, that would help me a lot! Just send it to my email: KarasAya [at] gmail.com or somewhere as dropbox.
We've changed the pixel-perfect calculate phase to make sure it happens after the sprite updated. Also we change the pixel-perfect algorithm to make sure the pixel perfect apply on each vertex, not just the size. These changes are in ex2D v2.0 and will coming out recently.
Our game is a 2D side-scrolling autorunner that uses a single orthographic camera. The camera size is set to 3, which gives us a conversion rate of 128px / 1 unit.
Most of our sprites are set to 'Pixel Perfect' with a uniform scale of 1. The first time a scene is loaded that contains a sprite with these settings, it shows up in the Scene view at an absurdly large scale, oftentimes obscuring the whole level. This also occurs if you duplicate an existing object with a pixel perfect sprite - the newly created object is blown up to roughly 128 its normal size (due to our conversion of 1 unit to 128px, I imagine). Clicking the 'Rebuild' button on the exSprite component or switching to the Game view and back again causes the sprite to be resized to its proper dimensions.
It looks as if there's some bug in the Pixel Perfect script, like maybe it doesn't perform its resizing on awake or something like that. When running the game itself, everything looks fine; this is only a problem the first time assets show up in the Scene view.
We're running Unity 3.5.4f1 with ex2D 1.2.0.