godotengine / godot-demo-projects

Demonstration and Template Projects
https://godotengine.org
MIT License
5.65k stars 1.58k forks source link

Velocity.x and y are outdated. (mono) #953

Closed nviprod closed 11 months ago

nviprod commented 11 months ago

Which demo project is affected: Dodge The Creeps and other mono projects, like Pong.

OS/device including version: Windows 11 Home

Issue description: Putting in the code itself will give you a 'Vector2' does not contain a definition for 'y' error. Godot 4 requires you to capitalize the X and Y in velocity.X and velocity.Y

Calinou commented 11 months ago

Thanks for the report! Consolidating in https://github.com/godotengine/godot-demo-projects/issues/697.