SupaLidlGame/Characters/Player.cs

19 lines
365 B
C#
Raw Normal View History

2022-11-10 20:29:53 -08:00
using Godot;
using System;
namespace SupaLidlGame.Characters
{
public partial class Player : Character
{
public override void _Ready()
{
Speed = 256.0f;
}
public override void _Process(double delta)
{
Direction = Input.GetVector("ui_left", "ui_right", "ui_up", "ui_down");
}
}
}