+5 votes

If I ever decide to make additional content for my game, how should I make it load the additional pck file that will contain the new scenes, maps, scripts, assets, etc? In addition to the main pck of course.

in Engine by (141 points)

Hi, I had the same question as yours. Except I didn’t think of using .pck files for that purpose. You can see question I posted, it has some useful replies.
Then I though of creating a launcher for the game. It will install the binaries from the server with corresponding version and for needed platform. That way you could have DLCs, different version, etc.

EDIT: Just found something in Godot docs

1 Answer

+1 vote

I’ve finally figured it out. This docs page describes exactly what you need. By using this code, you can import .pck file into the project.


Now you can use the assets as if you had them in the project from the start

var imported_scene = load("res://mod_scene.tscn")
by (97 points)
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 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 webmaster@godotengine.org with your username.