Can I make a border around an image? I have lots of blocks in 2D, and when the player hovers with the mouse on one of them I want to display the border around the texture / image.
Thats how I draw the block actually ( I don't think its relevant, but maybe it will help ) :
batch.draw(map.map[mapPos].TEXTURE, (mapPosX * Block.WIDTH), (mapPosY * Block.HEIGHT), Block.WIDTH, Block.HEIGHT);
Is it possible with code or should I make a separate image with the texture and border around it? Any ideas?