Hey m-nus
yes there is a way, by combining Pathfind and Car Behavior:
1drv.ms/u/s!Ap_-qxoGKbDcg1Th8NltXjwofC-n
If there are no obstacles on the layout, that should be enough.
If there are obstacles, it needs some fine tuning, so that the player does not get stuck.
Hey rtex
Here is one way you can do it (open in C3 editor.construct.net ):
1drv.ms/u/s!Ap_-qxoGKbDcgRFPhYOmmyirejQW
Develop games in your browser. Powerful, performant & highly capable.
how can we help you if we can not look at your project? And what does the debugger say about your text object?
Hey ReallyBasic
hard to say with the little information you give us. Maybe you have overlooked to put the tank base and turret into a container?
Hey Adrianol39
if you mean the Z Order of the objects, you can do something like this:
If Sphere_1.Y < Sphere_2.Y
then Sphere_1 Move to object behind Sphere_2
else Sphere_1 Move to object in front Sphere_2
This action is listed unter 'Z Order'.
Hey Bluehail101
i disabled 'Pixel rounding' in Porjects Properties and now it seems to work.
check the 'Origin' of all your animations and frames in the animation editor.
The example was general in order to understand the principle. Here again exactly for your goal. Do not forget to disable 'Default control' of 8Directions.
If you want to use Pathfinding, you can 'Every X seconds'-'Find path'. You can take 0.5 for X. Keep in mind that many opponents and properties for precise pathfinding can lead to an increased cpu load.
Hey sturm30
you can combine pathfind with the 8-direction behavior. Here an old example i made:
and a file for C3:
1drv.ms/u/s!Ap_-qxoGKbDcg1PpU72bc-aJp7c2
There was a tutorial for that but i cant find it now that scirra.com dont work anymore. But you can open C3 and load 'Kiwi Story'. It is a good example.
The only situation in which this would make sense(?) is if you want to save events. I do not know if it would actually make a difference in performance or so. I think Ashley has designated normal conditions for this purpose.
Member since 28 Mar, 2017