So far - I haven't had any of my questions answered so I'm starting to wonder if I'm asking dumb questions...
Anyway here is another one...
I've been searching the forums a lot - and I see a lot of grid based movement and board movement etc - but I think I'm trying to do something really simple and I'm just dumb...
So here is what I'm trying to do:
Have a map - I set the sprite to the target - i move the sprite x amount of pixel each turn to the position - there is no objects or anything that will block it's path.
And here is what I came up with:
VAR speed = 32 (pixels)
SPRITE.X = 10
SPRITE.Y = 10
VAR x 300
VAR y 300
VAR distanceToMove = 0
distance != speed
Round(Sprite.X) != Round(x)
Round(Sprite.y) != Round(y)
---------Action = Sprite set angle toward (x,y)
Sprite move forward 1 pixels
Sprite Add 1 to distToMove
This makes it move as I wanted - but this sits in the main event and I wanted it as a function which I could pass in X,Y Speed etc - but I couldn't get it to move to the location pixel by pixel turn by turn...
How dumb am I?