[Suggestion] Multiple tilemaps per tilemap object

Discussion and feedback on Construct 2

Post » Mon Mar 31, 2014 4:03 am

So we've been building our levels with Tiled and the TMX Importer using sprite objects acting as tiles as Ashley & Rexrainbow suggested...but now that we have so many tilesets we're running into all kinds of problems - very long preview times, freezing when loading levels, poor performance, etc. So the only thing I can think of doing is replacing the sprite objects acting as tiles with tilemap objects (which didn't exist at the time we built most of the levels).

Well, unfortunately that's not possible with the tilemap object's limitations - namely how you can only use one tilemap per tilemap object.

Our own problem aside...Working with multiple tilemap objects on multiple layers is VERY cumbersome.

So, It'd be fantastic if we could store multiple tilemaps in one tilemap object (using a frame system or new menu in the property bar), and place tiles from any of them on the tilemap canvas. This way you only need 1 tilemap object per layer and can use any tiles you wish, and you can use Tiled & the TMX Importer without having to use sprite objects acting as tiles.
Last edited by Tokinsom on Sun Apr 06, 2014 2:41 am, edited 2 times in total.
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Tue Apr 01, 2014 12:06 pm

Bump (and edited OP)
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Wed Apr 02, 2014 12:03 am

Agree. +1
B
50
S
11
G
7
Posts: 274
Reputation: 8,146

Post » Sun Apr 06, 2014 1:29 am

[post redacted]
Last edited by Infinitys End on Wed Apr 09, 2014 1:08 am, edited 2 times in total.
B
13
S
1
G
1
Posts: 16
Reputation: 1,566

Post » Sun Apr 06, 2014 2:00 am

Infinitys End wrote:Dear Construct 2 community: THIS IS A BIG PROBLEM FOR US.
Our game is 100% pixel-based, with tilemaps. The game is getting big. So big that when we preview the game it takes 20-30 seconds each time. That's minutes of sitting there and waiting each time you want to test if something worked - be it AI, gameplay, level design, ANYTHING regarding the game.

20+ second preview times is UN-BE-LIEVE-A-BLE. Anyone in the game industry would facepalm at the mention of this, considering how "small" our game is. We're seriously working with 8x8px tiles here, folks. Some of our enemies are only 16x16px! No joke!

If some kind of fix is not financially feasible for C2 in a timely fashion, what kind of workarounds would you offer? We're listening.


Well, they don't care at all, they wouldn't allow about how they did develop games for NES in C2. If you post a .capx about it takes 20 second preview it would be considered as evidence.


Otherwise, You have to hack the game design and the game development to get it working.
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Sun Apr 06, 2014 2:10 am

How big your tiles are doesn't matter at all I think. However the size of tilemaps overall and especially the image that you use for the tilemap can increase the loading time a lot. How big are they, pixel wise?

For instant in my game I use 12 tilemaps on the same layout with a size of 4000, 4000, however the images for the tilemaps are just 320x320.

Stats:
Memory: 29.2 mb
FPS: 60
CPU: 44%

But the map doesn't take more than a few seconds to starts. Which is not really the tilemaps fault, but because I generate a collision map for each of the 62500 tiles on the map. Which I would consider a CPU demanding task. So to get up to 20-30 seconds you must do a lot of things?
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848

Post » Sun Apr 06, 2014 2:29 am

Again, I am using sprite objects acting as tiles (animations as tilesets, frames as tiles) as Ashley & Rexrainbow suggested. This was fine at first, but now that we have many tilesets there's A LOT to load, causing preview times to be upwards of 20 seconds.

My solution was to no longer use sprite objects acting as tiles and instead use the tilemap object (which didn't exist at the time we built most of our levels) but it's impossible to get that working with TMX Importer due to the tilemap object's limitations (one tilemap per tilemap object, etc.).

So, again, if we could just have the tilemap object support multiple tilemaps, and the ability to place any of those tiles on a single canvas, problem solved! I'm not really sure how Ashley expected 1 tilemap per object to be enough in the first place!
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770


Return to Construct 2 General

Who is online

Users browsing this forum: Tokinsom and 6 guests