trying to get essentials working
This commit is contained in:
parent
c30449c479
commit
34ba37312a
9 changed files with 80 additions and 16 deletions
16
scripts/Visual.cs
Normal file
16
scripts/Visual.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using Godot;
|
||||
|
||||
public partial class PlayerVisual : Node2D
|
||||
{
|
||||
[Export] public float Radius = 8f;
|
||||
|
||||
public override void _Draw()
|
||||
{
|
||||
DrawCircle(Vector2.Zero, Radius, new Color(0.2f, 0.8f, 1.0f));
|
||||
}
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
QueueRedraw();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue