I am trying to develop a new plugin that basically displays/renders/draws a blood splatter on to the screen whenever the character is damaged, and I've been stuck on how to render a .png file (512x512) to the screen. At the moment I have a stable version that basically displays a red rectangle on the screen whenever the character is damaged. Current method of drawing a rectangle: "e.Graphics.DrawRectangle(b.Rect, Color.FromArgb(alphaByte, 180, 0, 0));", where e = Rage.GraphicsEventArgs and b = foreach (var b in snapshot); snapshot = new List<BloodSplatter>(splatters); and "BloodSplatter" is a public class with the next variables: public class BloodSplatter
{
public RectangleF Rect;
public float Alpha;
public uint StartTime;
public BloodSplatter(RectangleF rect, uint startTime)
{
Rect = rect;
Alpha = Config.StartAlpha;
StartTime = startTime;
}
}