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

preload() in individual scene #14

Open
deepak-akkil opened this issue Apr 28, 2022 · 1 comment
Open

preload() in individual scene #14

deepak-akkil opened this issue Apr 28, 2022 · 1 comment

Comments

@deepak-akkil
Copy link

i am getting a hang of using scenemanager and P5. is there a way to call to the preload() in individual scene?

@rahji
Copy link

rahji commented Nov 29, 2022

It seems like the logic is: whatever you would normally put in preload(), you'll put in the this.setup function. And whatever you'd normally put in setup(), you'll put in the this.enter function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants