Weird positioning problem

BlitzMax Forums/BlitzMax Programming/Weird positioning problem

Regular K(Posted 2006) [#1]
Im trying to make a simple beat game (DDR), but I ran into a really stupid problem. I have no clue what it is, a bug in Max2D or me doing something stupid.

The problem is the arrows at the top (called in UpdateGame), the X is ignored (Y is fine) when drawing them.

Can a second eye look at this?




tonyg(Posted 2006) [#2]
The handle of the image is top left so, when rotated, they appear to be in the same position. Try it with midhandleimage straight after the loadimage of beatimage to check.


Regular K(Posted 2006) [#3]
Ah, that fixed it. Although, I would think setting the X to 192, despite of rotating a 64x64 image, the real X wouldnt be 0? Yet moving the Y works normal.

Thanks.