AppMobi + Tiled background

Discussion and feedback on Construct 2

Post » Fri Aug 24, 2012 5:42 pm

I decided to revisit the appMobi option for iOS just for comparison sake.

But the tiled background doesn't seem to tile too well. Also certain transparent or alpha items show up instead of being transparent.

"How do I" .... fix this? Has anyone else had the same issue and resolved it?

I'll look more into it tomorrow and provide screenshots and my findings.
B
22
S
7
G
3
Posts: 189
Reputation: 4,270

Post » Fri Aug 24, 2012 6:17 pm

Hey superkew, (awesome username FYI)

    What device are you seeing this on and what version of applab do you have? I'm assuming the newest but it's always good to double check :)

We implemented most of the premultiplied alpha attributes that Construct 2 uses so screen shots would be great to see what might be happening. We've also done a lot of testing on tile background so unsure why you'd be seeing problems with that also. Again, screenshots would be amazing :)

CheersAppmobiTyler2012-08-24 18:18:26
appMobi
B
12
S
3
G
4
Posts: 22
Reputation: 2,698

Post » Tue Aug 28, 2012 7:07 am

Hi Tyler

I worked on my game a bit last night and found the following:

Tiled backgrounds have to be a perfect square otherwise the tiling doesn't work correctly.

If I take a very small right angled triangle and stretch it a lot to fill up an area, then the transparent edges show some sort of fill.

Also, when overlaying multiple images, sometimes it draws strange outline on the transparent sides. I'll play around with the pixel size and rounding.

Even though I stop a certain music track, it keeps playing.

I will get some screenshots later - off to my day job.
B
22
S
7
G
3
Posts: 189
Reputation: 4,270

Post » Tue Aug 28, 2012 1:24 pm

@superkew - you should only expect perfect tiling with square power-of-two sized textures. This isn't anything to do with directCanvas, it's a limitation in the current generation of mobile hardware.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Tue Aug 28, 2012 2:08 pm

I'm only tiling on x. But it is good to know.

Specifically using the tiling to do grass, and ground.
B
22
S
7
G
3
Posts: 189
Reputation: 4,270


Return to Construct 2 General

Who is online

Users browsing this forum: NetOne and 2 guests