linear sprite sampling when it should be point

Bugs will be moved here once resolved.

Post » Sat Feb 18, 2012 5:57 pm

When used "set layer scale" event, the tiled backgrounds have point sampling zoom, but all sprites have linear sampling, which looks really ugly in a pixel perfect game :( the project's setting is of course set to use point sampling. also doesn't work when layer zoom is 100% but sprite size is set to double the original, so long story short, point sampling doesn't work for sprites :)

ahh, disregard that, webgl only :( this is so sad, isn't there an option to make it work without webgl? tiled backgrounds work and have point sampling when resized, why sprites cannot?ranma2012-02-18 18:12:14
B
81
S
50
G
10
Posts: 555
Reputation: 13,009

Post » Sat Feb 18, 2012 7:27 pm

I'm a bit confused, if you have WebGL enabled does it work correctly with point sampling?

I'm afraid when WebGL is off we cannot control the sampling used - please see this post for more.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468

Post » Sat Feb 18, 2012 9:19 pm

sorry for the confusion. with webgl on everything's ok, but most (all?) mobiles don't have webgl, so the only option is not to use any kind of scaling and use fullscreen crop mode, right?
B
81
S
50
G
10
Posts: 555
Reputation: 13,009

Post » Sun Feb 19, 2012 1:18 am

@ranma unfortunately yes, you can only draw your sprites bigger which is a shame.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests