How do I Multiple Tilemaps

Get help using Construct 2

Post » Mon Jul 06, 2015 5:13 am

Hi Constructors,

Can we have multiple tile maps? I have a secondary tile map and it keeps getting erased. Just wondering if this is an impossibility.
B
39
S
11
G
3
Posts: 279
Reputation: 8,446

Post » Mon Jul 06, 2015 6:02 am

Of course you can. Just add another Tilemap object.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,387
Reputation: 58,456

Post » Mon Jul 06, 2015 6:08 am

All instances of a tilemap object share the same image. It's a frustrating limitation and likely due to difficulties with the editor. Hopefully it's addressed in C3.
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Mon Jul 06, 2015 6:19 am

@Tokinsom

I don't understand what you are referring to.

I've just added 2 Tilemap objects with different images.

https://dl.dropboxusercontent.com/u/34306693/MultipleTilemaps.capx (requires r209)
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,387
Reputation: 58,456

Post » Mon Jul 06, 2015 3:26 pm

All instances, not objects.
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Mon Jul 06, 2015 6:11 pm

@Tokinsom Of course they do. So do Sprites, Tiled Backgrounds, 9-Patch, Sprite Font, Particles, and any other plugin that uses an image. What is the limitation is this? You just make a new object, or put all the tiles in one object.
B
46
S
14
G
7
Posts: 603
Reputation: 8,116

Post » Mon Jul 06, 2015 8:10 pm

Oy. What I'm saying is Tiled Backgrounds, 9-Patches, Sprite Fonts, Tilemaps, Particles, etc. should all be able to use multiple images like frames in a Sprite object. This way you can swap images on the fly, create animations, and so on, all using one object.

Instead, we are limited to one image per object, which results in a bunch of pointless extra objects, necessitates a family to control all of them, and prevents us from doing the things mentioned above.

Ashley even considered making some of these objects, like the tiled background, a component of the sprite object instead of its own thing..for these very reasons. So, again, hopefully it's addressed in C3.
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Mon Jul 06, 2015 8:58 pm

It would be nice if images could be managed independent to objects. All objects would then just indicate which image to use at any time. Right now each object type manages it's own images, so each object needs to do it's own frame loading and whatnot.
B
92
S
32
G
107
Posts: 5,274
Reputation: 69,959

Post » Mon Jul 06, 2015 9:25 pm

Tokinsom wrote:Oy. What I'm saying is Tiled Backgrounds, 9-Patches, Sprite Fonts, Tilemaps, Particles, etc. should all be able to use multiple images like frames in a Sprite object. This way you can swap images on the fly, create animations, and so on, all using one object.

Instead, we are limited to one image per object, which results in a bunch of pointless extra objects, necessitates a family to control all of them, and prevents us from doing the things mentioned above.

Ashley even considered making some of these objects, like the tiled background, a component of the sprite object instead of its own thing..for these very reasons. So, again, hopefully it's addressed in C3.


Hmm...
I'll agree partially.
In 9Patches would be very great to have frames. Additional collision. Awesome for resizable Buttons... :D I would love it!
Tiled Backgrounds, yes would be useful.
Sprite Fonts, Particles dont know I never used them until now.
But Tilemaps, there is really no need. My opinion, because tiles are like frames and there is really much space...
Sorry for my bad english, but I really do my best! And use and check with Google Translator.
B
10
S
4
G
1
Posts: 158
Reputation: 1,303


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 52 guests