Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
How can I constrain the angle of motion in the Bullet behavior?
I want the object to move in 16 directions instead of 360.
Have your angle change in 22.5° increment only, and set your initial angle to multiples or 22.5°.
Depends on how you wanna modify the angle. You can check for multiples or 22.5° with the expression angle%22.5 = 0 (though I am not sure if some problems with float calculations will come up)
Develop games in your browser. Powerful, performant & highly capable.
I'll try it, thanks.