Draw a non-entity sprite from a bitmap file.
Optionally, a custom color value may be used. The default color
is white (0xFFFFFFFF
), which conserves original bitmap colors.
Sample:
void onSceneUpdate() { DrawSprite("sprites/sprite.png", vector2(90.0f, 0.0f)); DrawSprite("sprites/other_sprite.png", vector2(20.0f, 30.0f), 0xFFFFFFFF, 90.0f); }