On my canvas for the emulator I have this:
- Code: Select all
canvas.drawRect(x*cell_size + 1, y*cell_size + 1, x*cell_size+cell_size, y*cell_size+cell_size, pWalls);
and it works and looks fine but on my real device, I have to subtract 1 from the bottom/right params to get it not to overlap the lines around it. Why is there this difference?
Also on my real device, it doesn't show the line at (0,0) to (width,0) and I don't understand why not either.
Sort of off topic question but: Lets say I want to put my game on a different bitmap/canvas to double buffer it sort of, how would I do that?

