03-30-2024, 11:26 PM
(03-30-2024, 11:02 PM)Petr Wrote: Really, output is not good. So then you can use hardware images, output is better.
Code: (Select All)
Dim Image As Long
Image = _LoadImage("si.png", 32)
ih& = _CopyImage(Image, 33)
Screen _NewImage(640, 480, 32)
Do Until _KeyHit = 27
_MapTriangle (0, 0)-(0, 479)-(639, 479), ih& To(-2, 2, -3)-(-2, -2, -1)-(2, -2, -1), 0
_MapTriangle (0, 0)-(639, 479)-(639, 0), ih& To(-2, 2, -3)-(2, -2, -1)-(2, 2, -3), 0
_Display
_Limit 20
Loop
it's just that it gets a little more complicated, the movement of the game will run in the virtual software screen and it will be copied as a hardware screen. Yeah, it's a little complicated. I tried with MapTriangle (2D) to figure out why it distorts, I couldn't figure it out.
Ah ha! A 3D component is needed. Thank you for figuring this out.