forked from noxious/client
hierrr
This commit is contained in:
@ -17,6 +17,9 @@ const x: Ref<number> = ref(0);
|
||||
const y: Ref<number> = ref(0);
|
||||
|
||||
function onPointerClick(pointer: Phaser.Input.Pointer) {
|
||||
/**
|
||||
* @TODO : Check if player was dragging, if so, don't move player
|
||||
*/
|
||||
const px = scene.cameras.main.worldView.x + pointer.x;
|
||||
const py = scene.cameras.main.worldView.y + pointer.y;
|
||||
|
||||
|
Reference in New Issue
Block a user