Importing Tiledbackground objects with default size

For questions about using Classic.

Post » Thu Jul 30, 2009 11:56 pm

Does anyone know a way to not have Construct change the size of the TiledBackground objects I'm importing into my game. The objects are 101x171 size. Construct keeps changing them to 100x100. When I import them as Sprites there is no problem, Construct keeps their default size.
B
8
S
3
G
7
Posts: 835
Reputation: 5,313

Post » Fri Jul 31, 2009 3:37 am

You can always type the desired size in the object's properties.
Seeing how Tiledbackground is aimed at tiled backgrounds, the size usually won't end up being the source image's size, my guess is a default arbitrary size was chosen.
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Fri Jul 31, 2009 4:51 am

>> You can always type the desired size in the object's properties.
Yeah, that's what I ended up doing. Just figured there was something I was missing. I was trying to use Tiledbackground since it is supposed to be a lighter memory footprint. It sure it painful to resize all the objects though. :-)
B
8
S
3
G
7
Posts: 835
Reputation: 5,313

Post » Fri Jul 31, 2009 3:56 pm

The memory footprint is identical with tiled backgrounds and sprites. If you're not tiling them, just use sprites, otherwise you're making things more difficult for no reason!
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Sun Aug 02, 2009 3:32 pm

Tiled backgrounds draw a little slower too; you'd only want to use them - as Ashley said - for tiling.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests