Bascially, I am updating my survival game, which some of you may have seen, and I want to make it so if a monster detects that you are a certain distance away from your character, then it will move towards you. That's quite simple:
<forever>
<if> <distance to <( [ guy ] <<> 50 )>
"Then do this..."
<end>
I am using the scrolling style, so I am finding this harder than usual. What I want the monster to do is to go move towards the character at a certain pase, like 10 per seconds, and then stop at the guy and attack the character. However, you can't do this because the best block to use is the <glide( )secs to x )y ). That doesn't work because it won't be moving towards at a constant speed, it will just go straight towards the character, regardles of the distance.
Is there anyway to make is so the monster glides towards the character at a constant speed, rather than using seconds to do it.
Thanks in advance.
Offline
Yeah:
<repeat until><touching[
<move( )steps>
<end>
Just like a bullet script
Offline
Dan01 wrote:
Thanks for the help.
Does scratch Autosave? Coz I seem to have lost the two hours work I have just done
On Mac's it asks you to save, but not dells
Offline