2D Toolkit Forum

2D Toolkit => Support => Topic started by: RakeshChatra on October 10, 2013, 03:18:37 pm

Title: How to make a 2d dice
Post by: RakeshChatra on October 10, 2013, 03:18:37 pm
 :)I have 10 sprites with each having numbers from 1 to 10.. i want the sprite to keep changing for some seconds and then stop at a particular sprite so that i get a number. I am to make a dice effect..
Title: Re: How to make a 2d dice
Post by: unikronsoftware on October 10, 2013, 03:25:30 pm
You will simply need to script this. You can use sprite.SetSprite to switch the currently displayed sprite.
Title: Re: How to make a 2d dice
Post by: RakeshChatra on October 11, 2013, 06:00:12 pm
that was exactly what i was looking for.. thank you unikronsoftware..:):)