Games follow path from Tiled

sager

Member
Licensed User
follow path from Tiled
 

Attachments

  • 111.jpg
    111.jpg
    159.3 KB · Views: 196
  • 222.jpg
    222.jpg
    253.8 KB · Views: 195
  • path.zip
    25.4 KB · Views: 161

Gunther

Active Member
Licensed User
Öhm, failure or just showing that it is working?

The app is running here and the arrow is moving from hinge to hinge but bypassing P1.

May be you could add a real stop as an end:
B4X:
If pointNo = 9 Then
      Log("End")
      X2.stop
Else
 
Last edited:

sager

Member
Licensed User
Öhm, failure or just showing that it is working?

The app is running here and the arrow is moving from hinge to hinge but bypassing P1.

May be you could add a real stop as an end:
B4X:
If pointNo = 9 Then
      Log("End")
      X2.stop
Else

I think it is not an appropriate solution
The game will stop completely, right
 

Gunther

Active Member
Licensed User
It all depends what you want to archive.

The X2.Stop at that position ended the game loop. Actually it paused it after the game loop. You can re-start it with X2.Start.

But for your given example it looks for me as a next logical step to stop the game loop and also the running "End" in the lock.

Since you didn't mentioned the reason for the threat, no one knows except you.:p
 

sager

Member
Licensed User
Has been added
Continuous movement between two points
 

Attachments

  • path2.zip
    206.6 KB · Views: 170
  • 333.jpg
    333.jpg
    169.4 KB · Views: 184
Top