I want a thing where if you press a button, you focus on the closest interactive thing. And, lets say your focused on that thing. If you press a button, you boost directly to it to kill it.
And what I also need help with is the camera to be between the distance of the locked-on thing. IS that possible?
Yes, this is possible but not easy.
Your gonna need to use proximity to detect the closest enemy and use a camera set up similar to my Hotline Miami camera.
I’ll try to make an example for lock-ons later
Hotline Miami Camera:
http://flowlab.io/game/play/1200671
Yeah I had a feeling that it wouldn’t be easy. But I’ll try to do it. The Hotline Miami Camera link is very helpful.
Hey @ShadowAxeKid, I figured it out and made an Example level!
It targets a specific enemy and the camera stays between them.
I also added a radical when targeting, to give a better idea on what your looking at.
And when you walk too far, it de-targets them.
Target Example:
http://flowlab.io/game/view/1233322
@“JR 01” This is EXACTLY what I wanted! Thank you, mate!