basic capture functionality

This commit is contained in:
anonoe 2026-02-10 21:17:17 +01:00
parent 246f3c0840
commit c141e6a169
Signed by: anonoe
SSH key fingerprint: SHA256:OnAs6gNQelOnDiY5tBpDYKQiuTgBvnmIdMo5P09cdqg
20 changed files with 430 additions and 14 deletions

View file

@ -0,0 +1,14 @@
using Godot;
public partial class RectOutline : Node2D
{
[Export] public Vector2 Size = new Vector2(64, 64);
public override void _Draw()
{
// Draw an outline only (transparent fill)
DrawRect(new Rect2(Vector2.Zero, Size), new Color(0.6f, 0.6f, 0.6f, 0.9f), filled: false, width: 2f);
}
public override void _Ready() => QueueRedraw();
}