Im making a game where you are in a tank. But need help to make an arrow set its angle toward the nearest object/enemy.
please help so i can make my first real project done(have made ALOT of small games to test stuff).
a quick test capx that might help
Won't work. It says "Could not open project//?/C/.... because its newer version of construct 2. the project was saved in realease 167.2 or newer. your current release is 163." im using the free version(could be why). Try writing the events and actions. Thank you!
the latest beta is at the bottom of this (and most) pages.
what if there is more of the same object?
same of which object: sprite or arrow?
I wan't to make the arrow point at the nearest enemy. So you can find/destroy them and complete the level.
here you go - still latest beta.
event 1 and event 2 are two ways to do a similar job - not to be used together , only use event 1 OR event 2
Thanks lets hope my internet will get to work. So i can download the latest beta(found it!).
Develop games in your browser. Powerful, performant & highly capable.
Give arrow turret behavior!