Hacker News new | ask | show | jobs
by mpinteractiv 3775 days ago
> One thing I don't get with game engines: why do they feel the need to make a X-like scripting language, where X=Python in this case, and X=JavaScript in Unity's case?

So I checked the doc

> GDScript is a dynamically typed scripting language to fit inside Godot. It was designed with the following goals: (...)

So yeah, it's close to python but with a different syntax. Why ? it's a big fustrating.

Granted Python wasn't necessary developed with game design in mind(though there is absolutely no issue with developing games in Python). I feel there is a lost opportunity here.

> As with most dynamically typed languages though, the higher productivity (code is easier to learn, faster to write, no compilation, etc) is balanced with a performance penalty, but most critical code is written in C++ already in the engine (vector ops, physics, math, indexing, etc), making the resulting performance more than enough for most types of games.

Then why not go with a statically typed language at first place? I began programming with Flash and never had an issue with learning AS from scratch, granted AS2 was less difficult than AS3 for beginners.

Anyway, first time I hear about this project and it looks quite gorgeous.