event

JavaScript

JavaScript code that works with a mouse does not work with a pen tablet.

The purpose  JavaScript code that works with a mouse failed to work with a pen tablet. This article summariz...
TypeScript

[TypeScript]Use Custom event

The purpose  To dispatch a custom event in TypeScript and trigger a process based on that event. Implementati...
JavaScript

To execute an event listener only once(JavaScript)

The purpose  When performing a process triggered by an event in JavaScript, addEventListener is commonly used. H...
Phaser3

Prevent page scrolling when the spacebar is pressed(Phaser3)

The purpose  When creating games with Phaser 3, pressing the up and down arrow keys can sometimes unintentionally ca...
Phaser3

List of Mouse Events for GameObjects (Phaser3)

The purpose  Summarizing mouse events for GameObjects in Phaser 3. How to receive event First, enable mouse i...
Phaser3

Move the object by dragging it(Phaser3)

The purpose  Dragging objects in Phaser 3 Implementation Prepare Add an object to the scene by dragging it ...
Copied title and URL