I've just started with Construct3, and am struggling with what I see as two very basic functions that were easy to implement in GDevelop.
Hopefully someone can help!
I want a Human sprite to find the nearest Tree object and move towards it. I've figured out how to pick the nearest one, but the Human goes in completely the wrong direction.
In the screenshot below, the bottom left Tree is picked as the closest, and the animation is changed so I can see it. On startup, the Human is at the blue circle, but then starts moving to the right for some reason (red arrow).
(Please excuse the awful graphics, I'm using placeholders whilst I build the functionality!)
Here are the Events:
2. Moving the camera with mouse/touch
It's an RTS-style mobile game, so I want to move the camera by dragging. There are plenty of tutorials and examples available, but when I copy them over (word-for-word), they don't work. All the project settings are the same across my project and the examples/tutorials, same imported objects etc.
However, nothing happens when I try and drag.
I have two layers (layer_ui for general UI, and layer_background for all the objects)
Here's the Events view. What am I missing?