Hi
Im doing a cannon fodder clone in Blitz3d tho the game is 2d
ive got the mouse routine working fine the main character can move in 8 directions and is controled by the mouse
left mouse button moves the character to where you clicked right mouse button fire's a bullet
The problem im having is this
My character has 24 frames of animation (0-23) and there is 3 frames per direction so if he moves up screen his back is towards you etc etc
What i need is some animation code so when i click my character walks towards where i clicked instead of sliding
I just cant get my head around it any help plz
i can post the code if needed but you will need to make some of your own graphics cos i ripped the graphics out of the amiga version of cannon fodder as test graphics
Thanks
GIMPY
Im doing a cannon fodder clone in Blitz3d tho the game is 2d
ive got the mouse routine working fine the main character can move in 8 directions and is controled by the mouse
left mouse button moves the character to where you clicked right mouse button fire's a bullet
The problem im having is this
My character has 24 frames of animation (0-23) and there is 3 frames per direction so if he moves up screen his back is towards you etc etc
What i need is some animation code so when i click my character walks towards where i clicked instead of sliding
I just cant get my head around it any help plz
i can post the code if needed but you will need to make some of your own graphics cos i ripped the graphics out of the amiga version of cannon fodder as test graphics
Thanks
GIMPY