News for hackers. Stuff that matters.
Re:Complex text layouts progress report in Godot game engine by tobyhinloopen on Tuesday November 10, 2020 @08:49AM (#25045844)
Godot allows you to write code in languages other than Go? I thought it was a Go-specific library
Re:Complex text layouts progress report in Godot game engine by seniorivn on Tuesday November 10, 2020 @08:52AM (#25045875)
https://godotengine.org/features

It has nothing to do with the go language, just a coincidence

>More choices than any other engine.

    GDScript Python-like scripting language, designed to make games with zero hassle. Learn why our community loves it.
    Full C# 8.0 support using Mono.
    Full C++ support without needing to recompile the engine using GDNative.
    Visual scripting using blocks and connections.
    Additional languages with community-provided support for Rust, Nim, D and other languages.
    Built-in editor with syntax highlighting, real-time parser and code completion.
    Integrated documentation. Browse and search the whole API offline, without leaving the editor.
Re:Complex text layouts progress report in Godot game engine by colejohnson66 on Tuesday November 10, 2020 @09:35AM (#25046380)
The name has nothing to do with Go the language; Just coincidence. It was taken from a play called Waiting for Godot.[0]

Internally, everything is C++ (and your code can also be written in it), but the bundled scripting language is called GDScript (it’s a bit of a mixture of Python, Lua, and others with some extra unique syntax sugar). However, it does support bindings to other languages. The most common being C# (using Mono), but people have gotten Rust to work (among others).

[0]: https://en.wikipedia.org/wiki/Waiting_for_Godot

Re:Complex text layouts progress report in Godot game engine by Wezl on Tuesday November 10, 2020 @11:54AM (#25048051)
I didn't know that about the name. Should we pronounce it /ˈɡɒdoʊ/ like wikipedia says the play's name is pronounced?
Re:Complex text layouts progress report in Godot game engine by colejohnson66 on Tuesday November 10, 2020 @12:29PM (#25048497)
I’ve used to pronounce it “go dot,” but then I heard a few YouTubers say it like that (/ˈɡɒdoʊ/), and I’ve been saying it like that since.
Re:Complex text layouts progress report in Godot game engine by laszlokorte on Tuesday November 10, 2020 @08:51AM (#25045870)
It actually does not relate to Go at all. It's a game engine and allows you to write scripts in it's own scripting language (which kind of looks like python), C#, and a visual graph language.
Re:Complex text layouts progress report in Godot game engine by hobofan on Tuesday November 10, 2020 @09:08AM (#25046050)
And via GDNative in theoretically any language (and practically at least C, C++, Rust).
Re:Complex text layouts progress report in Godot game engine by mhh__ on Tuesday November 10, 2020 @11:37AM (#25047868)
The D bindings were also ok last time I checked.

I wish they didn't go with C#, I keep trying to use const-correctness and getting annoyed