Wheel Of Fortune! HELP!

I really really need help for this. I HAVE to make a program that spins a wheel, having 16 slices or categories, and have an arrow on top of the spinning wheel point to a category on the wheel when the wheel stops. Just like "Wheel Of Fortune". I tried rotating the wheel [which is a bitmap, it contains the categories and little icons for each category] from within a PictureBox but it is wayyyyyy to slow...i really really need help, what should i do? how should i do it? do you have any coding? im giving ALL of my points away, i just need the info ASAP. thank you so very much.

   -reflex101
reflex101Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
arfnarfsiConnect With a Mentor Commented:
Manually rotate the picture the 11.25 degrees, as BarryTice suggested, for the total of 32 different pictures.  I'd suggest downloading Paint Shop Pro 6, if you don't have it already.  (30 day free trial).  It is quite simple to perform rotations on your picture with this app.

Take those pictures and load them into an imagelist.  You can easily rotate through the pictures using their index number in a loop by assigning your picture to the proper frame of your collection of 32.  Something like:

Set picWheel.Picture = ImageList.ListImages(x Mod 32).Picture
0
 
reflex101Author Commented:
Thanks Ruchi, but im afraid these two programs are no help. i already got them and one of them doesnt even have a wheel [and thats what i need] and the second uses directx7 and is way to messed up and complicated for me to modify. but thanks anwyays. please anybody, i need to figure out how to rotate the wheel - or at least make it seem like it is.
thanks, reflex101
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
reflex101Author Commented:
Adjusted points to 110
0
 
pear49Commented:
This is the easy way...

Using the original picture (of the wheel), rotate it 10 degrees, save it as a new picture file. Repeat for a total of 36 times. When you need to turn the wheel, change the picture to the next one and so on...

0
 
cquinnCommented:
I would agree with pear49 that the best way is to have a series of bitmaps, but I would suggest that you try using the Picclip control.  See the Redtop sample project in the VB samples\CompTool\Picclip directory to see how it works
0
 
BarryTiceCommented:
pear49 is almost right. But you'll want to rotate it 11.25 degrees (11 deg 15 min, or, in radians, pi/16). Because you have 16 pie wedges in your wheel, this will give you 1/2-wedge rotations -- 32 wheel positions rather than 36 -- which means you'll always end up with one of your pie wedges centered on your selection arrow at the top. -- b.r.t.
0
All Courses

From novice to tech pro — start learning today.