niklas2902 / py4godot

Python scripting for Godot. This GDExtension plugin allows you to use Python like GDScript, accessing the Godot engine's features and benefiting from Python's vast ecosystem.
MIT License
64 stars 7 forks source link

Syntax Error #74

Open Inmiy opened 1 month ago

Inmiy commented 1 month ago

HI. I copy the code you give for example,but it can't run. I think it's because of the symbol ‘ , the symbol cut off the "()" image

niklas2902 commented 1 month ago

Hi,

I'm sorry to hear that you're experiencing issues. I'm having trouble reproducing the problem on my end. You can probably ignore the editor-related aspects, as it seems to be just a display bug. However, I will investigate it further.

To help me understand the issue better: could you try copying the script from the wiki, adjusting the filename to 'node2d', and the import to 'Node2D'? Does that resolve the problem?