Back to Browse

Pixi.js: Pointer Events Part 1

8.7K views
Feb 25, 2020
19:54

Pixi.js: Pointer Events Part 1 Continuing on with my short Pixi.js topic tutorial videos, today I look at pointer events, which encompass tough and mouse events. I use a PIXI.Graphic element here and turn on interactivity to make a graphic element into a type of button. I show the various states beyond Up and Down. I look at Over and UpOutside, and how to handle situations like dealing with the graphic state if the mouse button is till held down when leaving the graphic, or when the mouse up is triggered outside of the graphic.

Download

1 formats

Video Formats

360pmp427.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Pixi.js: Pointer Events Part 1 | NatokHD