Almost There
craps
Member Posts: 353
I am down to the last problem in my game.
I have a random (1-6) number that is generated and instantly outputs its result.
That result then changes two dice to reflect the outcome after a 2-3 sec "dice roll" animation.
The bankroll reflects the amount "bet" and adds $$$ if the player is a winner!
The problem is: the reflected bankroll amount (win or lose is "instantly" displayed while the dice outcome change lags behind.
I want the dice outcome to show first (or at the same time) that the bankroll changes. (its more realistic that way).
I have tried to put a the random number generated behavior into a time (which does not work).
Ideas?
I have a random (1-6) number that is generated and instantly outputs its result.
That result then changes two dice to reflect the outcome after a 2-3 sec "dice roll" animation.
The bankroll reflects the amount "bet" and adds $$$ if the player is a winner!
The problem is: the reflected bankroll amount (win or lose is "instantly" displayed while the dice outcome change lags behind.
I want the dice outcome to show first (or at the same time) that the bankroll changes. (its more realistic that way).
I have tried to put a the random number generated behavior into a time (which does not work).
Ideas?
Comments