Bug #333
Hot Spot not flipped when using HREV/VREV
Start date:
04/08/2020
Due date:
% Done:
0%
Estimated time:
Affected version:
Description
When mirroring/flipping bobs or sprites with HREV/VREV, the hot spot isn't also mirrored.
e.g.
#manifest: "pc" #displayWidth:1920 #displayHeight:1080 #fullScreen:true #splashScreen:false #fps:false degree ink 5 bob 1,200,200,1 bob 2,500,200,hrev(1) hot spot 1,$21 rot=0 wait key do add rot,4,0 to 359 bob rotate 1,rot bob rotate 2,rot wait vbl loop
Example bob attached, if required.
The AMOS manual states:
When an image is reversed like this, the location of the hot spot is reversed horizontally too. So if the hot spot was
originally in the top left-hand corner, the hot spot of the HREV image will be in the top right-hand corner:
Files