ID:1959637
Oct 12 2015, 11:14 pm
|
|||||||
Redundant
| |||||||
The addition of a turn proc that use anti-aliasing. The current one creates jagged results.
|
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.
|
In response to BlackProgrammer
|
|
From stddef.dm:
icon 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
|
In response to BlackProgrammer
|
|
stddef.dm is the only built-in file.
|
Of course, turning icons is somewhat moot for a lot of projects these days thanks to the transform var.