Well I'm getting two issues with arc here, the first is that there is a HUGE drop in framerate when bool closed = true, and the second is that the color is applied to the whole screen exept the closed arc, just like in bizzaro world.
Screen->Arc(2,Link->X,Link->Y,16,295,65,28,1,0,0,0,true,true,128);
Could I be the first to of actually used Screen->Arc?
I think it's because your start angle is greater than your end angle, which can cause some problems with the current routine for closing and filling arcs. I don't think it's a bug in our code beyond that, because I too used the closed/filled arcs in my boss. If you want to pass the origin, simply add a multiple of 360 (so in your case, use 425 instead of 65.)
Also note that the angles are counterclockwise from the right. Don't ask me, as the Allegro designers.
Ah, that's the fix then. OK, works fine and got rid of the lag to boot. Thanks.
jman2050 wrote:
Also note that the angles are counterclockwise from the right. Don't ask me, as the Allegro designers.
Yeah I noticed this trying to figure out why my degree based collision detection was backwards, and fixed it by basically reversing the numbers. Those bastards! 😉
'Not A Bug' thread moved from quarantined to exterminated. Dark Nation (or other developer), how am I doing? Reply only in one of the threads I moved.