Hi i have a problem which is i made a game that random floors coming from the right side of the screen and the character have to jump on the floors in order not to fall.. The problem is that I want to spawn random number of coins over each floor randomly, and each coin would keep distance of few pixels of each other and I want to determine the amount of coins if it's possible too.
you can see it in this game:
youtube.com/watch
would like to see an example