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
25
S
8
Posts: 216
Reputation: 2,175

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
98
S
34
G
20
Posts: 438
Reputation: 17,815

Post » Wed Mar 08, 2017 8:43 am

thanks friend :) You guys are awsom in this forum!
B
25
S
8
Posts: 216
Reputation: 2,175


Return to How do I....?

Who is online

Users browsing this forum: batto and 28 guests