Path Finding

2

Attached Files

The following files have been attached to this tutorial:

.capx

demo-guard-patrol.capx

Download now 1.33 MB

Stats

5,430 visits, 7,717 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 10 Aug, 2014. Last updated 19 Feb, 2019

Path finding subject has been prepared by many of you. I still get messages from newcomers how to implement this? Well here is self explaining CAPX that will teach you all

1 Create new project and name it as you wish

2 Create sprite and call it Guard

3 Create sprite box say 8 x 8 box and name it guardpost

4 Give guardpost Instance variables call it StopNo

5 Give Instance variable to Guard Call it StopNo

Your screen might look like this

Now add this code below

.CAPX

demo-guard-patrol.capx

Download now 1.33 MB
  • 0 Comments

Want to leave a comment? Login or Register an account!