I'm making a mockup of my hud and I had just this letle question.
Would it be veary hard of making the blizz abs minimap round ?
think ... runescape or wow where the minimap in the upper right corner is round.
Just asking if it is possible and not years of work.
Not a request !
I asked this question about XAS, basically it won't work
http://forum.chaos-project.com/index.php/topic,4061.0.html
to make the calculations to make something round takes loads of computer power
Computer programs/games don't know what round is.
to make something appear round you need to put loads and loads of straight lines with all a degree off eachother.
that way the thing looks round.(make a circle in paint and zoom in)
the down side is that it requires lots of calculations.
than we need to fit the minimap in it. even more calculations. (you need to make sure that the map won't draw outside the many many lines)
this is even more calculations.
now this needs to be updated every frame.
and you got yourself a game that can't be played.
If I didn't mention this already, it's not exactly impossible, but the lag created will make it unplayable.
yeah ... already thougt this would be veary kinda impossible :p
Oh... I thought you just meant the minimap to be a circle instead of a rectangle...
XD
Making it a circle with still squarish map parts wouldn't be hard.
This doesn't even require calculations. Just find what parts of the rectangle need to be eliminated to make a circle in a graphics program such as paint or photoshop, then use a 0 opacity color to fill over this area every time the minimap draws.
Quote from: winkio on December 11, 2009, 04:07:51 pm
This doesn't even require calculations. Just find what parts of the rectangle need to be eliminated to make a circle in a graphics program such as paint or photoshop, then use a 0 opacity color to fill over this area every time the minimap draws.
Exactly. Store a black-and-white BMP file and only draw parts of the minimap that are black. Still laggy, but I'm sure there'd be some way to cache it and reduce the lag somewhat.
If you cached it and defined it the same way as the minimap tiles, there shouldn't be any increase in lag.
Cool where getting somewhere
So if i just make a circle graphic (where the circle is black and the baground white=>opacity 0) this can work huh ?
I'm making the black - white thing.
Could someone script the part where the image overlayers the minimap and only fills in the black ?
Maybe you can make it so people can have the minimap whetever shape you want it to have.
If this would work ill make some example templates for minimap shapes.
Ofcourse is the best shape squarish or round but this can add a lot of free place to the screen.
I always thougt that the complete hud took a lot of place :p
EDIT : so the image would look something like this ?
(http://i935.photobucket.com/albums/ad199/ElementIsland/circleminimap.jpg)
Dowload link : http://www.sendspace.com/file/6d4789
Ok this changed more to a request I think ...
should I open a new topic or will someone move this ?