+1 vote

if I export my project will my .tscn, .tres, .gd become .scn, .res, .gdc etc..(in binary formats)?
if so, will my preload work with the new file extension preload("res://scene.tscn")?

in Engine by (248 points)

1 Answer

+2 votes
Best answer

tscn is indeed converted to scn. Your code should still work because internally Godot remaps the file names, like it also does for imported resources (i.e when you load a png, it actually loads it's imported stex StreamTexture version).

by (27,823 points)
selected by

tscn is indeed converted to scn.

This is not actually the case; the documentation was corrected to reflect this.

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.