1
0
forked from nothke/yugodot

Initial, scripts

This commit is contained in:
nothke
2024-10-15 01:25:22 +02:00
parent ab07d94b74
commit 42891195fd
6 changed files with 730 additions and 0 deletions

18
scripts/CrateMover2.cs Normal file
View File

@@ -0,0 +1,18 @@
using Godot;
using System;
public class CrateMover2 : Spatial
{
public override void _Ready()
{
}
public override void _Process(float delta)
{
if (Input.IsKeyPressed((int)KeyList.A))
{
Transform = Transform.Translated(Vector3.Forward * delta);
}
}
}