removed a debug key and _Process in main isn't async anymore
This commit is contained in:
@@ -34,13 +34,9 @@ public class Player : KinematicBody2D
|
|||||||
{
|
{
|
||||||
velocity.y += speed;
|
velocity.y += speed;
|
||||||
}
|
}
|
||||||
if (Input.IsKeyPressed((int)KeyList.F1))
|
|
||||||
{
|
|
||||||
GD.Print(strength);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override async void _Process(float delta)
|
public override void _Process(float delta)
|
||||||
{
|
{
|
||||||
//debug the grid
|
//debug the grid
|
||||||
var tilemap = GetNode<TileMap>("/root/Main/World/Foreground");
|
var tilemap = GetNode<TileMap>("/root/Main/World/Foreground");
|
||||||
|
Reference in New Issue
Block a user