Hi guys. I need a little help with a game I am making. You see I am making a game where you have to fight a dragon by climbing to its head. So far I have the movement, attacks, and grapple code implemented; as seen below:
Right now the dragon is following the mouse. I am trying to make the dragon follow a predetermined path that changes based on the players location. Basically, I want the dragon to:
1. Move in a wavy motion left and right of the screen.
2. Slightly dive down to fire a fireball, then return to 1.
3. If the player is on it, move upwards and make a loop-de-loop.
4. If the player is really close to the head, avoid flying to 3 specific points on the screen.
All the while, speed is constant.
If you have Game maker 8(registered), you can try implementing your code with this stripped down version of the dragon.
http://www.box.net/shared/vs02xaz7imIf you can help out please reply this post.