Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit) (+2)

Set angle in 45dg increments starting at the top and moving clockwise by using 0,1,2,3,4, etc. - every number higher is a further is 45dg clockwise. 0-360 doesn't work because variables max out at 255. You also need to get the firing behind an Every X frames block, otherwise it resets the missile position to the starting xy every frame the fire button is held.

(+1)

Got it, thanks.

(+2)

If you only want it to fire on single button press without auto-fire on button hold, you could put it in a Run Once block instead of an Every X block.

Thanks.