Tiled Background problem and one suggestion

Discussion and feedback on Construct 2

Post » Sat Oct 29, 2011 5:43 pm

I use combination of Sptites and Tiled Background to lay down tileset - create level, and this problem ocures






everything is snaped to grid. There is no space between sprites/tiles, but when Constuct renders them small gap appears.


Beside of that I have one suggestion for some kind of "Tileset Background" object, something like combination of Tiled Background object and the way Panel object from CC works. First you import basic tileset, define tile size, and istead of stretching cener tile it just copy it... Here is basic idea:

podpathos2011-10-29 17:45:23
B
12
S
2
G
2
Posts: 96
Reputation: 1,583

Post » Sat Oct 29, 2011 6:40 pm

[QUOTE=podpathos]There is no space between sprites/tiles, but when Constuct renders them small gap appears.[/quote]
It's probably because you're scrolling to a floating point position (e.g. X = 2.5). Try enabling 'pixel rounding' in project properties.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sat Oct 29, 2011 6:57 pm

i try that but there is no difference...here is cap (supposed to be for competition...not enough time...i will delete it after you check it)
B
12
S
2
G
2
Posts: 96
Reputation: 1,583

Post » Sat Oct 29, 2011 10:06 pm

Problem is caused by zooming out, if layer scale is 1 - default, then everything is ok... I think that has nothing to do whit Construct 2, that happens also in PhostoShop when you zooming in and out, scaling can't be pixel perfect I guess.

But what about "TilesetBackground", I think that would make life much easier.podpathos2011-10-29 22:09:43
B
12
S
2
G
2
Posts: 96
Reputation: 1,583

Post » Sun Oct 30, 2011 12:25 am

I believe this is quite similar to the 'Panel' object in CC. Which was quite handy for interfaces actually.
B
55
S
12
G
8
Posts: 339
Reputation: 9,314


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 10 guests