The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates.

godotengine.org | Twitter

0 votes

I want to make my game fully moddable, with the source code + all the project files.

However, there was no success.
I have tried deleting the main .PCK files in the game's root folder and putting all the project files in it, and it worked. The source code is affected when I change a few lines here or change their values, however, the images still persist even after modifying them multiple times.

What should I do now?

Godot version 3.4.2-stable
in Engine by (12 points)

1 Answer

+1 vote

If you want to make your game fully moddable, the best way is to release the project source on a version control platform such as GitHub or GitLab.

I don't recommend letting the export template read its data outside of a PCK file, as you're losing out on the various optimizations performed when exporting the project. Also, it won't work when modifying images as the project will be relying on the hidden .import/ folder instead of the source PNG images. (This is why modifying the images in the exported project does nothing in your case.)

by (12,878 points)

Understandable, so I'll release the project to GitHub instead then. It would be nice if I could find a way to make the user import custom sprites into the game, or set a texture to a sprite from a external .png for example. I'll do that as of now, thanks!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.