# kaz123

Member

3

100 Neutral

• Rank
Newbie
1. ## 2D wheel position

Hi .. I tried the above solutions, but i have numbers from 0 - 36 arranged randomly on the wheel. I am generating a random number between 0 to 36 and my requirement is to stop the wheel spinning on the the exact number i want ( say number 15 and stop on that). How can i achieve this ?. Please suggest. Should i use different sprites for each number and check for collision ?. The wheel i am using more or less looks like the one in the below link, except for the ball i am using it as a separate sprite. http://www.google.co.in/imgres?imgurl=http://www.gamblingplanet.org/assets/images/editorials/roulette_wheel.JPG&imgrefurl=http://www.gamblingplanet.org/GP_editorial_210208a&usg=__CQOYoNFCRuHr9GwqepdSt7Qi6os=&h=520&w=512&sz=49&hl=en&start=0&zoom=1&tbnid=nf5mQbG4gFzLWM:&tbnh=132&tbnw=138&prev=/images%3Fq%3DRoulette%26hl%3Den%26sa%3DG%26biw%3D1016%26bih%3D570%26gbv%3D2%26tbs%3Disch:1&itbs=1&iact=rc&dur=374&ei=EhIfTcH7Ks_nrAfg95W7Cw&oei=EhIfTcH7Ks_nrAfg95W7Cw&esq=1&page=1&ndsp=15&ved=1t:429,r:6,s:0&tx=109&ty=74
2. ## 2D wheel position

Thank you!. Will try out the above suggestions..
3. ## 2D wheel position

Hi, i am new to XNA game Dev. I got through by reading some of the e books and posts and got up to start my first game. I have a simple roulette wheel which and i am able to rotate the wheel successfully. I also have a small ball that rotates in opposite direction to the wheel.Now my problem is ," how to identify on which value of the wheel(0-36) did the ball stop on". How to identify this ?. Can some one please guide me through this ?. This would be of immense support to move forward.