frame controlling is too fast.

Posted By: Anonymous

frame controlling is too fast. - 06/06/01 16:10

Hello Friends

I have done frame controlling It's happening no problem.but it is too fast.

action my_me_fight
{
MY.FRAME = 44;
WHILE (MY.FRAME < 93)
{
MY.FRAME += 1;
IF (MY.FRAME == 49)
{
if(enemy_present > 0)
{
if (vec_dist(soldier_y.x,my.x) < 85)
{
soldier_y._health -=1;
}
}
}
wait 1;
}
}


I have given this action to player when he fights here my attack frame starts from 44 and ends in 92.
but it is too fast when i press ctrl this action is been called. iwant this action should be slow.
I have even tried by giving less fps(frame per sec) in model editor. I have given as 1 to my model
then also it is too fast.

thanx
bye

Posted By: Anonymous

Re: frame controlling is too fast. - 06/06/01 16:40

Hi Yogesh,

i would suggest to have a look at the template wdl files (i think its in the movement code). Look how conitec did the animation. It might get you started.

Ronny

------------------
To boldly animate, what no man has ever animated before

cybersorcerer.de

Posted By: Anonymous

Re: frame controlling is too fast. - 06/06/01 16:45

Hi Yogesh,

i would suggest to have a look at the template wdl files (i think its in the movement code). Look how conitec did the animation. It might get you started.

Ronny

------------------
To boldly animate, what no man has ever animated before

cybersorcerer.de

Posted By: Anonymous

Re: frame controlling is too fast. - 06/06/01 18:01

What you should do if you want the animation to go slower is just incriment it by a smaller number, instead of adding 1 to the frame add .5 which will have the animation go twice as slow, you can do any decimal of a frame because the engine will genorate an image inbetween the frames.
-matt
Posted By: James Snydstrup

Re: frame controlling is too fast. - 06/06/01 21:48

yogesh:

Try incrementing useing TIME.

Posted By: Anonymous

Re: frame controlling is too fast. - 06/07/01 05:39

Try something like this:

my.frame += 5 * time;

© 2023 lite-C Forums