ShadowApex / godot-go

Go language bindings for the Godot Engine's GDNative API.
MIT License
363 stars 31 forks source link

BUG FIX #2

Closed pastaq closed 7 years ago

pastaq commented 7 years ago

Fixed the args loop when calling go_methodfunc. It was skipping the first argument. Added an example custom method to the PongClass called CustomFunc that can be called from GDScript. Replaced native GD translator "X" to "X_" as a way to mitigate issues if a function started with "X", and better identify the native GD required functions.