OverlaysSharp 1.0.0

dotnet add package OverlaysSharp --version 1.0.0
                    
NuGet\Install-Package OverlaysSharp -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OverlaysSharp" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OverlaysSharp" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="OverlaysSharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OverlaysSharp --version 1.0.0
                    
#r "nuget: OverlaysSharp, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=OverlaysSharp&version=1.0.0
                    
Install OverlaysSharp as a Cake Addin
#tool nuget:?package=OverlaysSharp&version=1.0.0
                    
Install OverlaysSharp as a Cake Tool

OverlaySharp

A transparent, clickable, resizable, always-on-top overlay framework for .NET 8 — powered by ImGui.NET
Designed for game ESPs, visual overlays, cheat menus, or diagnostic UIs.

Created by [BRUUUH]


✅ Features

  • Transparent + topmost Form overlay
  • Fully clickable or click-through (toggle with F1)
  • ImGui.NET rendering (no unsafe code, no D3D required)
  • Dual positioning system: raw Vector2 or anchor keywords like "bottom center"
  • Draw helpers: text, lines, boxes, circles
  • Toggle overlay visibility with F2
  • Auto-follow target process (e.g. games, emulators)
  • Default watermark: OverlaySharp by BRUUUH
  • Lightweight, NuGet-ready architecture

📦 Installation

NuGet (coming soon)
dotnet add package OverlaySharp
Manual
  1. Clone/download this repo
  2. Build in Release
  3. Reference OverlaySharp.dll in your own project

📘 Usage Documentation

1. Create Your Custom Overlay Class

using OverlaySharp;
using ImGuiNET;
using System.Drawing;
using System.Numerics;

public class MyESP : Overlay
{
    public MyESP() : base(new OverlayConfig()) {}

    protected override void Render()
    {
        OverlayDraw.DrawText("top center", "OverlaySharp by BRUUUH", Color.LimeGreen);
        OverlayDraw.DrawBox(new Vector2(100, 200), 150, 80, Color.Red);
        OverlayDraw.DrawLine("bottom left", "top right", Color.Yellow, 1.5f);
        OverlayDraw.DrawCircle("center", 60, Color.Aqua);
    }
}

2. Attach to a Process & Run

using System.Diagnostics;
using System.Windows.Forms;

var proc = Process.GetProcessesByName("HD-Player").FirstOrDefault();
if (proc == null) return;

var overlay = new MyESP();
overlay.AttachTo(proc.MainWindowHandle);
Application.Run(overlay);

Replace "HD-Player" with the name of your target process (game, emulator, etc.)


3. Anchor Keywords (Built-in Positioning)

OverlaySharp supports anchor keywords to easily position elements without using raw coordinates.

Examples:

  • "top left", "top center", "top right"
  • "middle left", "center" / "middle center", "middle right"
  • "bottom left", "bottom center", "bottom right"

Or use raw:

new Vector2(300, 500)

4. Drawing API Summary

Method Description
OverlayDraw.DrawText(pos, string, Color) Draws text
OverlayDraw.DrawBox(pos, width, height, Color) Draws rectangle
OverlayDraw.DrawLine(start, end, Color) Draws a line
OverlayDraw.DrawCircle(center, radius, Color) Draws circle

Position can be either:

  • Vector2
  • or anchor string like "bottom right"

⌨️ Hotkeys

Key Action
F1 Toggle click-through (mouse passthrough)
F2 Toggle visibility (show/hide overlay)

❗ Requirements

  • .NET 8.0 SDK
  • Windows OS (WinForms base)
  • ImGui.NET package (already referenced internally)

💡 Coming Soon

  • OverlaySharp.DirectX for high-performance rendering
  • DrawHealthBar, DrawFilledBox, and advanced ESP helpers
  • Streamer mode (SetWindowDisplayAffinity)
  • Runtime UI settings / config panel

📄 License

MIT License. Free to use, modify, and fork.
Respect the watermark, or rewrite your own overlay 😤


⭐ If you build something with OverlaySharp, star the repo & tag @BRUUUH on GitHub

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 35 5/24/2025