ID:1959637
 
Redundant
Applies to:Dream Maker
Status: Redundant

This feature has already been implemented, or is already achievable with existing methods.
The addition of a turn proc that use anti-aliasing. The current one creates jagged results.
I'd actually prefer to implement something like RotSprite with it, as in many cases a pixelated look may be desired.

Of course, turning icons is somewhat moot for a lot of projects these days thanks to the transform var.
Now if only we could get rid of the anti-aliasing on transform... Heh.
Doesn't the icon.Turn proc have an undocumented antialias argument?

Or was that never fully implemented since 2006?
Oh, sheesh. So it does. It's been so long since I've messed with the icon code I didn't remember that.
Lummox JR resolved issue (Redundant)
TO THE REFERENCE IMPROVEMENT THREAD!
I'm confused. Is this in the current Byond Version or will it be added?
It's in already.
How is it done?
In response to BlackProgrammer
From stddef.dm:

icon
proc
// [...]
Turn(angle,antialias)
if(antialias) _dm_turn_icon(icon,angle,1)
else _dm_turn_icon(icon,angle)

Calling icon.Turn(180, TRUE) should be sufficient.
Where's stddef.dm from? Is it a library I have to download or something within Byond?
In response to BlackProgrammer
It's a file included in all BYOND projects internally.
So there's no way I can view them, right? Only the Programmers for Byond can view those?
In response to BlackProgrammer
You can view it by creating a new code file in your project named stddef.dm.
In response to LordAndrew
Well, except that a 180° turn is optimized out and needs no antialiasing.
In response to Lummox JR
Ah, whoops. I didn't even think about that. My example is bad. :x
Is there a list of byond built in .dm files somewhere?
In response to BlackProgrammer
stddef.dm is the only built-in file.