Patrick Ting

Results 41 comments of Patrick Ting

I appreciate that you have read the docs slightly_smiling_face > > To answer your question, your lexer must produce a token for every value captured by your grammar. In this...

i ran into the same issue. i'm going to see if i can get to the bottom of this. looks like it might be a mangling of arguments

just an update. the fix is to cast float arguments into `C.double` when constructing the argument array when calling `ptrcall`. This needs to be done for all floating point arguments...

my best reference was looking at the godot-cpp project. it also helped asking questions in the *gdnative-dev* room on the discord servers. i originally decided to create my own godot-go...

i'm going to attempt a rewrite on top of c-for-go. will post updates once i reach a milestone

I started a new godot-go project here (https://github.com/godot-go/godot-go) because this project has gone dormant. my project properly integrates into the editor. custom nativescript properties will register and can be modified...

this ticket is meant to provide gdscript's `yield` support; example [here](https://github.com/godotengine/godot-demo-projects/blob/master/2d/dodge_the_creeps/HUD.gd#L13). this is mostly for quality of life

so just to give you perspective, this is the equivalent go code, which is not as nice: https://github.com/godot-go/godot-go-demo-projects/blob/master/2d/dodge_the_creeps/pkg/dtc/hud.go#L63

closing this out as i've deprecated the godot 3.x work favor of godot 4

Yup, that was what I was thinking. That would be the easiest way to approach this problem. Reflection could probably be avoided by having a map of functions since the...