Hello, I have question about graphics::Image usage. I would like use image as tile sheet. As i understand, Image.draw require a Quad like Rectangle which represent the part of image to keep.
So, for a tile sheet of 16px tiles, if I want to draw tile at 3rd row and 2nd column:
Hello, I have question about
graphics::Image
usage. I would like use image as tile sheet. As i understand,Image.draw
require aQuad
likeRectangle
which represent the part of image to keep.So, for a tile sheet of 16px tiles, if I want to draw tile at 3rd row and 2nd column:
Why I have to set image ratio instead simple "coordinates" and width/height ? Like that:
Using float disturb me and I'm afraid about "round" errors ^^ Is that possible to use simple "coordinates" and width/height ?