How do I display in text object ammount of sprites in layout

Get help using Construct 2

Post » Tue Mar 07, 2017 8:52 pm

Need expression how do i count SpriteA, SpriteB, SpriteC etc and display for each ammount
in text object(s)
B
24
S
7
Posts: 208
Reputation: 2,032

Post » Tue Mar 07, 2017 11:47 pm

Set the Text objects Text field to something like:

"a=" & SpriteA.count & ", b=" & SpriteB.count & ", c=" & SpriteC.count
Last edited by AllanR on Wed Mar 08, 2017 2:59 pm, edited 2 times in total.
B
94
S
33
G
20
Posts: 438
Reputation: 17,615

Post » Wed Mar 08, 2017 8:43 am

thanks friend :) You guys are awsom in this forum!
B
24
S
7
Posts: 208
Reputation: 2,032


Return to How do I....?

Who is online

Users browsing this forum: David181 and 14 guests