03-30-2024, 09:17 PM
(This post was last modified: 03-30-2024, 09:18 PM by TerryRitchie.)
Yeah, I played around with this idea some time back as well. I thought _MAPTRIANGLE would work for this, but nope, run the code to see the problem.
Code: (Select All)
DIM Image AS LONG
Image = _LOADIMAGE("si.png", 32)
SCREEN _NEWIMAGE(640, 480, 32)
_MAPTRIANGLE (0, 0)-(0, 479)-(639, 479), Image TO(100, 0)-(0, 479)-(639, 479), 0
_MAPTRIANGLE (0, 0)-(639, 479)-(639, 0), Image TO(100, 0)-(639, 479)-(540, 0), 0