Skip to main content

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

You are so kind :) For the drag I check if you are holding the mouse and adding the position of the mouse to an array. Then some linear algebra to find the fit function and if it’s close enough to the direction of the arrow. For the circle same thing but I compute the barycenter and sum the angles between two points. if the sign changes you are changing direction if you do a full 360 I count it as passed.

MATH! hahaha That sounds awesome!! Thank you for telling me! I got some homework to do then!