Slime
Active Member
- Joined
- Jan 25, 2014
- Messages
- 115
- Reaction score
- 32
I want to draw a cursor on the monster that player is currently attacking, instead of default red square. If a sprite is bigger than 32x32 it covers the cursor. Wat do?
C++:
if(m_showStaticSquare && animate) {
auto datType = g_things.rawGetThingType(159, ThingCategoryItem);
Point arrowDest = dest;
arrowDest.y -= 32;
datType->draw(arrowDest + (animationOffset - getDisplacement() + 2), scaleFactor, 0, 0, 0, 0, 0, lightView);
g_painter->setColor(Color::white);
}