Hello Guest

Author Topic: How to make a 2d dice  (Read 3334 times)

RakeshChatra

  • Newbie
  • *
  • Posts: 33
    • View Profile
How to make a 2d dice
« 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..

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: How to make a 2d dice
« Reply #1 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.

RakeshChatra

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: How to make a 2d dice
« Reply #2 on: October 11, 2013, 06:00:12 pm »
that was exactly what i was looking for.. thank you unikronsoftware..:):)