help meee

May 20, 2013 at 5:33am
sorry if my english wasnt that good at first.. but anyways after I write my image .bitmap into the code and I cut off the image so the sprite will not be able to walk into certain parts of the map.. kind of like a barrier, but anyways I know how to do the x, y, the top and left but how do I do the right and bottom? as in block it off

May 20, 2013 at 5:39am
If you know the height and width of the sprite, then you have your second pair of coordinates: (x+width, y+height).
Topic archived. No new replies allowed.