From among the two examples why the second is out of order?
------------------------------------------------------------------------------------------------------------------------------
This works:
// If a monster is within 200 pixels of the player, make it start rotating towards them.
System | For each Monster | Monster | Rotate 1 degres toward (player.x, player.y)
System | distance(Player.X, Player.Y, Monster.X, Monster.Y) < 200 |
--------------------------------------------------------------------------------------------------------------------------------
Not Works why?:
System | Every tick | Monster | Rotate 1 degres toward (player.x, player.y)
System | distance(Player.X, Player.Y, Monster.X, Monster.Y) < 200 |
If the every tick recurs with true one always,why the monster does not want to turn then if I am near to it than 200 pixels?