[REQUEST] Tilemap Expression

Discussion and feedback on Construct 2

Post » Sun Dec 15, 2013 11:49 am

Can you add an expression "Draw Rects" from tilemap plugin?

I need it because I can use it as compare between 2 values, if draw rects is 0, then game over.
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Sun Dec 15, 2013 2:10 pm

Do you mean a condition like "Tilemap is empty"? The 'draw rects' value isn't really useful itself for anything other than information at debug time.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,351

Post » Sun Dec 15, 2013 3:36 pm

@Ashley No, I don't mean a condition "Tilemap is empty". Only an expression.

The draw rects or whatever like "Tiles count" may be useful for the reasons, more like for anything that you don't know even we don't have a workaround.

Can you add this expression?
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Mon Dec 16, 2013 10:14 pm

bump
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Mon Dec 16, 2013 11:38 pm

Do you mean draw rects or a tile count expression? They mean different things.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,351

Post » Tue Dec 17, 2013 12:38 am

@Ashley Oh really? Anyway Tile count would be useful, don't confuse with Tilemap.count
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Wed Dec 18, 2013 2:52 pm

@Ashley Can you officially reply this request?
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Wed Dec 18, 2013 3:17 pm

Well what exactly are you trying to count? How many tiles in the tilemap? How many non-blank tiles? How many tiles use the tile type?

Clarification on what you want and how you would use it would help as they can't implement a feature without knowing what it needs to do.
B
21
S
8
G
6
Posts: 346
Reputation: 4,891

Post » Wed Dec 18, 2013 3:23 pm

Another person who thinks they have the right to force a very busy developer to answer them. Wow. Just sad :(

As has often been stated, how would should a proposal benefit the majority of users? Provide a reasoned argument that outlines the benefits that we users can expect from such a change.

If it's only of benefit to you then why should they bother?
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
86
Posts: 5,481
Reputation: 59,748

Post » Wed Dec 18, 2013 6:50 pm

@Thndr Basically how many tiles in the tilemap. Not blank and tile type.
I already posted the first post, we have no event if the tiles are 0 just as full blank tiles. No workaround exists.
What for? I'm making a breakout game which it runs very good on mobile devices, instead of 200 sprites. There a big problem, what happens when all tiles are erased? It can't get next level without this expression. I couldn't finish this game.
Every developers would use this expression to get value from tile count for some reasons like map editor, dynamic platform, puzzles, etc.

@zenox98 None of your business. Joannesalfa2013-12-18 19:01:46
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 4 guests