Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Super cool! It took me too long to realize that you can drag the focus point while attracting or repelling; that makes a few of the jumps much easier.

You might want to look into Pointer Capture API: https://developer.mozilla.org/en-US/docs/Web/API/Element/setPointerCapture

As is, it’s easy to accidentally drag out of the iframe and then things get a bit confused. Pointer Capture addresses exactly that use case.