Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- g.setDrawMode(Graphics.MODE_ALPHA_MAP);
- sprite.draw(position.x - view.x-5, position.y - view.y-5,1.1f);
- g.setDrawMode(Graphics.MODE_ALPHA_BLEND);
- g.setColor(outlineColor);
- g.fillRect(position.x - view.x-5, position.y - view.y-5, sprite.getWidth(), sprite.getHeight());
- g.setDrawMode(Graphics.MODE_NORMAL);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement