ImmutableOctet / glare

Glare: Open Source Game Engine written in Modern C++
MIT License
0 stars 0 forks source link

Implement functions for `EntityScript` #63

Open ImmutableOctet opened 1 year ago

ImmutableOctet commented 1 year ago

Functions would be subroutines that can be added to a script via merge composition.

The syntax would look something like this:

function f(x, y:int, z:string)
    return ((x + y):string + ", " + z)
end
ImmutableOctet commented 4 months ago

Leaving this on hold, since we're going to be writing most logic with the C++ script interface anyway.