AffineTransform tx = new AffineTransform();
tx.translate(0, 100);
tx.rotate(233);
tx.setToRotation(34, 333, 333, 222);
g.drawImage(player_image, x, y, x+width, y+height,
50*(int)frame, 147, 50*(int)frame+50, 189 ,Sprite_Sheet.m1);
not sure what iam doing wrong. this code below just display image
g.drawImage(player_image, x, y, x+width, y+height,
50*(int)frame, 147, 50*(int)frame+50, 189 ,Sprite_Sheet.m1);
now how can i flip it verical?