Biggest Trouble

Get help using Construct 2

Post » Sun Aug 26, 2012 1:53 pm

Hello fellow Designers ,
I really need your help
How can I find and object biggest instance
Knowing that this object is randomly scaled and randomly spawned at the start of the layout

Thank you
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Sun Aug 26, 2012 1:57 pm

Global var "Biggest"

For Each Object
-- if Object.Size (however you want to calculate that) > Biggest,
---- set Biggest = Object.Size

Voila!

B
20
S
9
G
6
Posts: 607
Reputation: 6,112

Post » Sun Aug 26, 2012 11:38 pm

Thank You , I had that in my mind too !
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 0 guests