I want to be able to create c++ blocks and write more functional extensions on them!
I need c++ code blocks to create more functional extensions. These c++ blocks will help make more extensions for all users and will bring a lot of benefits. There will also be faster extensions because c++ is compiled directly into machine code, while javascript is first compiled into c++ and then into machine code.
I’m a bit confused at this ask, as GDevelop is a Javascript engine. Do you mean you want them to outright add a C++ interpreter, or something else?
I ask because adding a C++ code block would not do anything as it wouldn’t interpret whatever you put into it. The renderer is also only Javascript, and the devs have said repeatedly over the years (on this forum and elsewhere) that they would likely only build interpreters for languages supported by the renderer.
To be clear, while there is some C++ in the engine core, the engine itself does not interpret C++. As far as I’m aware the only thing that involves C++ is the backend core processes that convert from a project over to actual javascript code.
To be more specific, even if they could add C++ blocks, what is it you think you’re going to be able to do with C++ that you aren’t going to be able to do with the Javascript blocks today?
And since it is a Javascript engine, none of the C++ blocks would stay as C++, it would have to be transpiled to javascript, so there’d be no performance differences.
please stop asking for this.
Unless you mean WebAssembly (which is way too overkill and probably already possible), this is impossible and useless, and i think youve asked this multiple times already.
While JavaScript obviously has to “become” something to run, JavaScript is a deeply complex language, and the compiled code tends to not even look like JavaScript. But however, you have access to Electron on PC builds. So your point doesnt even make sense.
Yes, thats a good way to write a virus in GDevelop. Dont do it.
If i were to want something like this, it would be a way to write regular gdevelop events with just your keyboard, or even a custom written GDevelop language that isnt as horrible to use as gdevelop’s javascript API
Dude chill, it’s a kid. OFC he’ll share anything that comes to his mind. Don’t let the choppa speak at the kid, he just tryna express his ideas
Though i started using Javascript and it’s pretty cool cuz it does almost alot of work for such small code. I would suggest using Chatgpt to help out with the coding if it’s hard to code. It’s pretty cool that they gave us Javascript atleast and lot of folk are happy with it.
I don’t like using neural networks. I’d rather study the javascript language myself.
Firstly, neural networks can give incorrect results.
Secondly, I already know a bit about the javascript language based on my experiences.
Ey that’s good then. I’m tryna learn it but for now i just use Chatgpt to help out. Though you’re right you do get wrong codes and issues but from my experience the things i wanted to achieve, it did the job with not so much issues