PDA

View Full Version : Circular Minimap for Fun


HandupOnYoHip
07-22-2009, 09:44 PM
If you had to make a circular minimap (http://images1.wikia.nocookie.net/wowwiki/images/4/47/Minimap_example.png), what would be your method?

Keeping in mind this is completely unneeded/unpractical/etc. without masking. If it was me, I would make a circular border on a higher layer, then make a bunch of showimgpart peices of varying width's to cover the entire compass space. Using a variable to denote the player's position on the minimap, showing which peices to draw(in this example, the minimap being a large enuf sized map, bigger then shown on screen).

Spooon
07-22-2009, 10:30 PM
It is very possible. You can use a image and just show the parts you need. Multiple images for zooming maybe.

Downsider
07-22-2009, 11:56 PM
Showpoly and math. Unless it's for an RPG that needs a complex map, in which case I would use the same method you use, which is essentially the only method practical.

Shiny
07-23-2009, 01:00 AM
Ya, I can't think of many ways to actually display a circular cropping of an image without manually doing the cropping with multiple showimgs.

Agret
07-23-2009, 01:26 AM
Just get your image, open it in photoshop. Cut off the corners, save it as a transparent PNG and set it as your minimap. Bam, all done. Now use whatever minimap script you watn.

Spooon
07-23-2009, 02:12 AM
That's not what he meant, Agret.

Agret
07-23-2009, 02:25 AM
My bad, he wanted a WoW style minimap.

Spooon
07-23-2009, 10:28 AM
It was around before WoW >:|

First used in shooter games.