![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | alethcoe |
I downloaded the beta to use C# 6.0.
Following this tutorial: Coding the player — Godot Engine (stable) documentation in English
I am coding the player and I get this build error.
error CS0115: ‘Player._Process(float)’: no suitable method found to override
Here is the code that is failing.
using Godot;
using System;
public partial class Player : Area2D
{
[Export]
public int Speed = 400; // How fast the player will move (pixels/sec).
public Vector2 ScreenSize; // Size of the game window.
public override void _Ready()
{
ScreenSize = GetViewportRect().Size;
}
public override void _Process(float delta)
{
...
This is the method call it is mad at but from the docs I don’t see any issue unless this was changed in the beta? The tutorial didn’t have a source file I could copy so did i mess up the signature?