Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Sprites coordinates (with S4P)

$
0
0

Hello,

It drove me crazy but I finally understood that the "setXY" and the "getXY" methods sets/returns the X and Y coordinates of the center of the sprite. This is similar to the situation when you draw an image with "ImageMode(CENTER)". Is it any possibility to have the (X,Y) coordinates refer to the upper-left corner of the sprite; that is, a "ImageMode(CORNER) option?

Thank you in advance. Hervé


Viewing all articles
Browse latest Browse all 2896

Trending Articles