p5.SceneManager icon indicating copy to clipboard operation
p5.SceneManager copied to clipboard

preload() in individual scene

Open deepak-akkil opened this issue 3 years ago • 1 comments

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

deepak-akkil avatar Apr 28 '22 11:04 deepak-akkil

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.

rahji avatar Nov 29 '22 16:11 rahji