Got a little problem folks and would appreciate a bit of help. Essentially, cos I liked Dizzy using the whip to jump across a wide gap in Crystal Kingdom I've been trying to re-create it. Decided not to try an AI as I wanted Dizzy to move in a curve rather than keeping 'upright' and setting lots of target points. So created a couple of rather large animated tiles and disabled Dizzy and enabled the tile when the whip jump was required and then reverse them when the jump was completed. Now I have problems.
Setting the animation to '2' gives problems with the WaitFrames as I can't quite catch the end of the jump and when 're-jumping' it shows the the end of the previous animation for a split second before redoing the jump. Can you set the waitframes with with a 'percentage' ie, WaitFrames (45.5)?
Setting the animation to '1' works great the first time, but re-jumping just won't work. I've tried resetting the animation back to '1' after the jump but before disabling the tile again:
ObjSet(ObjFind(1000), O_ANIM,1);
ObjSet(ObjFind(1000), O_DISABLE, 1);
Do I have to do something else?
Cheers
Grandad
Setting the animation to '2' gives problems with the WaitFrames as I can't quite catch the end of the jump and when 're-jumping' it shows the the end of the previous animation for a split second before redoing the jump. Can you set the waitframes with with a 'percentage' ie, WaitFrames (45.5)?
Setting the animation to '1' works great the first time, but re-jumping just won't work. I've tried resetting the animation back to '1' after the jump but before disabling the tile again:
ObjSet(ObjFind(1000), O_ANIM,1);
ObjSet(ObjFind(1000), O_DISABLE, 1);
Do I have to do something else?
Cheers
Grandad