Project

General

Profile

Bug #333

Hot Spot not flipped when using HREV/VREV

Added by Paul Kitching about 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
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

1.Arrow.png (352 Bytes) 1.Arrow.png Paul Kitching, 04/08/2020 06:40 PM
#1

Updated by Francois Lionet about 4 years ago

  • Status changed from New to Resolved

Fixed!

#2

Updated by Francois Lionet about 4 years ago

  • Affected version changed from 0.9.8 to 0.9.8.1
#3

Updated by Paul Kitching over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF