Skip to main content

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

who can say what the best way is, game making just be wack like that

if you dont already know about them, the Vector2 (and Vector3) .rotated method may be good to know for future games

before i learned about those, rotating a vector was like 3 (very long) lines of code and a stinkin load of trigonometry, but with them its just "Vector2(10,0).rotated(45)"

(+1)

Yeah I know about those (after scuffly making it of course) But apart from that the main issue wasn't the rotation part, it was when to rotate and in which direction, but thanks for the tip!