Hi everyone,
I did a post a few down regarding IRQ's, which I've been told aren't possible.
So I've created a routine called from the main loop that detects the position of Mr. BadGuy and simply moves the sprite accordingly in any direction.
The problem is, how can I, say, have various paths for the spite to follow, and even more so, a circular path?
I've tried plotting the path in an array, for exmple if the sprite is at 0,0 and it needs to move 100 pixels to the right, then at each loop, check if the sprite is great than 100, and if so, then go onto the next array. It's all fairly complex, but 'kinda' works.
But of course circular paths, arcs, etc, are causing me a nightmare.
I'm sure that DBP, powerful as it is, will have some 'better' method.
Any ideas would be really appreciated...
TIA
~ J ~