Is this possible? Basically, here's the senario. We have a .jpeg image we resized in code. Basically, we want to take the resized image and turn it with the icon Turn() proc. Problem is, turn only works for non-squared object. Is there a way we can turn it while not making the card (the card is the object being turned) look like a box?
Copyright © 2025 BYOND Software.
All rights reserved.
The trick is to crop it into a square, calculate the added area for each axis, then turn it, then crop it back into a rectangle.
Although, honestly, this approach is going to be slower than using the new v500 features. Check this out:
See how much easier that is? And you don't have to incur the CPU overhead of modifying a new icon, it doesn't add to the dyn.rsc, and on top of that, it's less work for you.