tatanyn Posted September 27, 2019 Share Posted September 27, 2019 I am attempting to set up collision and overlaps that call functions. Per the example in the tutorial I am placing the following code in the 'create' function and then placing the returnOrb function in the 'update' function. I am getting t "Uncaught ReferenceError: returnOrb is not defined". Which would make sense to me if i wasn't doing exactly what the Phaser tutorial told me to do. what am i actually supposed to do? this.physics.add.overlap(dude, orbs, returnOrb); Link to comment Share on other sites More sharing options...
Recommended Posts