I'm following the Docs and stuck in the first part of Your First Game.
The instructions say to put this:
position += velocity * delta
position.x = clamp(position.x, 0, screen_size.x)
position.y = clamp(position.y, 0, screen_size.y)
under the _process function
I put it under the previous lines of code - not know for sure where it is supposed to go. I get an error of an unexpected token: identifier:position
Where should the position code go?
I have coded in Flash for many decades - pretty good at AS2 so this is a little different. It would be helpful in the docs to show what the code should look like before testing the game. I test the game and only get the Godot splash screen.