I'm not trying to reverse engineer any game but I want to know if it is relatively hard for others to reverse engineer my game. I have some algor that I don't want to expose. Converting to machine code like .so in Android works. I tried to build a sample and export to Android. I couldn't find anything familiar from the decompiled code. Does that mean I'm very safe? Thanks
can I reverse engineer the game built using Godot?
You can encrypt the PKG file if I recall correctly, so your GDScript files would (in theory) be much harder to get, so it would make your code safer.
You can use GDNative if you want to use C/C++ code. If you use C/C++ then your algorithm would be contained in a compiled libary file, so in theory it would be as safe as possible (probably. I am not an expert on code security).
To answer the question: it really depends.
No code is safe from some form of decompiling, as people will always find a way around any system you put in place. Will 99.99% of people go to the effort of decompiling your game? Almost certainly not. That said, if someone is determined enough they will find a way to decompile your code. Whether they could learn how to use the decompiled code depends on the programming language that is being decompiled, and on the person decompiling it.
You are probably safe enough using Godot. If you want to be extra safe, then use GDNative for any code you do not want to have decompiled. C/C++ code is fairly safe when compiled into a library.
@TwistedTwigleg said: You can encrypt the PKG file if I recall correctly, so your GDScript files would (in theory) be much harder to get, so it would make your code safer.
You can use GDNative if you want to use C/C++ code. If you use C/C++ then your algorithm would be contained in a compiled libary file, so in theory it would be as safe as possible (probably. I am not an expert on code security).
To answer the question: it really depends.
No code is safe from some form of decompiling, as people will always find a way around any system you put in place. Will 99.99% of people go to the effort of decompiling your game? Almost certainly not. That said, if someone is determined enough they will find a way to decompile your code. Whether they could learn how to use the decompiled code depends on the programming language that is being decompiled, and on the person decompiling it.
You are probably safe enough using Godot. If you want to be extra safe, then use GDNative for any code you do not want to have decompiled. C/C++ code is fairly safe when compiled into a library.
yes, thank you. the algor is written in C and C++. I'm fine with compiling into machine code, so this sounds like a perfect engine for me.