ah ic.
i just want to make sure if i have the step right.
AffineTransform tx = AffineTransform.getScaleInstance(1, -1);
tx.translate(0, 0); //translate to center
//roate image here...
Type: Posts; User: hwoarang69
ah ic.
i just want to make sure if i have the step right.
AffineTransform tx = AffineTransform.getScaleInstance(1, -1);
tx.translate(0, 0); //translate to center
//roate image here...
lets say i am print a image on screen. with (x1,y1,x2,y2,sx1,xy1,sx2,sy2)
g.drawImage(player_image, x, y, x+width, y+height
0, 0, 30, 20 ,Sprite_Sheet.m1);
so how would i flip this image...