Simulate a race result with arrays?

Get help using Construct 2

Post » Fri Nov 25, 2016 1:54 pm

korbaach wrote:@Kraudi please check function "printRank" ..
I'm not sure that gives correct results..and really do not have time..


race2Array.capx


Simulated 10 races and it looks good to me. Looks like it's counting correct!

BIG thank you for your time! I'll look deeper into it after work:)

Thank you!
Creating minimalistic iOS Games
http://twitter.com/kraudi2k
B
33
S
6
Posts: 246
Reputation: 2,937

Post » Sun Nov 27, 2016 12:08 am

I wanted to say thank your for your help in this case!

I've integrated most parts of your capx files into my project. It works great!

Image

Regards
Kraudi
Creating minimalistic iOS Games
http://twitter.com/kraudi2k
B
33
S
6
Posts: 246
Reputation: 2,937

Post » Mon Nov 28, 2016 7:46 am

Just one small question I have left.
I've had some cases where at the end of the season 2 drivers had the same amount of points. So I need the driver with more wins/more 2nd places/ etc. as champion. Is this difficult to add to? What would be the easiest way to this? Maybe add every position they gained in the ArrayDrivers?
Creating minimalistic iOS Games
http://twitter.com/kraudi2k
B
33
S
6
Posts: 246
Reputation: 2,937

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests