Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prepare() method for styles that should preload scenes #1945

Merged
merged 1 commit into from
Dec 9, 2023

Conversation

Jowan-Spooner
Copy link
Collaborator

The perpare() method should preload all the packed scenes needed for the particular style, thus fixing a lag-spike when first using that style. Needs to be called manually right now (e.g. DialogicUtil.get_style_by_name("Textbubbles").prepare()).

Hopefully fixes/improves lags when starting dialog (#1943)

The perpare() method should preload all the packed scenes needed for the particular style, thus fixing a lag-spike. Needs to be called manually right now.
@Jowan-Spooner Jowan-Spooner merged commit 0575cbe into main Dec 9, 2023
@Jowan-Spooner Jowan-Spooner deleted the style-prepare branch December 21, 2023 10:00
Invertex pushed a commit to Invertex/dialogic that referenced this pull request Jan 26, 2024
…godot#1945)

The perpare() method should preload all the packed scenes needed for the particular style, thus fixing a lag-spike. Needs to be called manually right now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant