blackhawx Posted September 13, 2018 Share Posted September 13, 2018 If I have the following in my game code... this.input.on('gameobjectup', this.clickHandler, this); Is `gameobjectup` a pre-defined term that Phaser already understands, or is that a just a required label that I can rename as anything I want? If the former, is there documentation online that tells us what other values we can use in it's place? Thanks! Link to comment Share on other sites More sharing options...
prob Posted September 13, 2018 Share Posted September 13, 2018 It's an event, as defined in InputPlugin.js. I don't believe all of the events are documented out, but if you take the time to go through the link, you'll find everything there (gameobjectdown, gameobjectout, gameobjectup, pointerdown, pointerup, pointermove, pointerover, pointerout, dragstart, dragover, dragleave, dragenter, drag, drop, and dragend). But before you do that, I'd recommend you read through the Input Events tutorial in this Dev Log; I know it helped me understand the basics for configuring input options. samme and blackhawx 1 1 Link to comment Share on other sites More sharing options...
blackhawx Posted September 13, 2018 Author Share Posted September 13, 2018 Thanks prob! This helps me move forward. Link to comment Share on other sites More sharing options...
Recommended Posts