Hi

I have some questions about exporting a game

  • can I export to each platform in the list without changing anything in the code or in my project (so same for each platform)? I use gdscript

  • i tried exporting to windows desktop and next to EXE I also have a PCK file. What is that file?

    https://docs.godotengine.org/en/stable/tutorials/export/exporting_pcks.html

    When you are creating assets and scripts, they can be set up to be exported inside of the executable file itself, but it's better to have them in the data/assets pack file instead. In case you release an update to the game, if you have different .pck's for different assets with something updated in them a service might make the player only download that 1 updated/changed .pck rather than the whole game at once. Also mods could be in such .pck files.

    blender-girl can I export to each platform in the list without changing anything in the code or in my project (so same for each platform)? I use gdscript

    Yep, that's how it works… well it should, at least.

    i tried exporting to windows desktop and next to EXE I also have a PCK file. What is that file?

    Already answered that it's a resource file. I'll just add that if the game is small and doesn't involve updates, it's often more convenient to cram everything into one file.

    For the most part, you don't have to change any code and it will export to all supported platforms. In practice, though, there can sometimes be small issues (especially on mobile and web) because not all platforms support the same features. For example, mobile uses different texture compression, HTML5 does not support a lot of advanced effects. But the code doesn't need to change, though you might have to adjust the project or export settings.