drwhut / tabletop-club

An open-source platform for playing tabletop games in a physics-based 3D environment for Windows, macOS, and Linux! Made with the Godot Engine.
https://tabletopclub.net
MIT License
1.26k stars 51 forks source link

First time of importing assets takes much time #213

Closed GrimPixel closed 1 year ago

GrimPixel commented 1 year ago

Describe the bug When a custom asset is loaded for the first time, it takes a long time.

drwhut commented 1 year ago

Unfortunately this cannot be helped - in order for people to be able to add their own assets to the game without having to download the engine, it needs to use the editor's import system, which as you mentioned takes a while the first time something is imported.

The only other alternative would be to use GDScript functions to load specific file types - a method exists for images, but none exist for e.g. 3D models. I vaguely remember there being a discussion about adding a function for loading glTF files, but that would mean giving up support for OBJ and DAE files.