In my game I want a character to become shaky after a certain event.
For this purpose I've used
Code: ags
where view 7 consists of two frames, such that the character 'jumps' up and down continuously whenever he is not walking.
However, I have two problems here:
1. Even with delay 0 in the idle view, there is still a bit of a delay after the character stops walking before he switches to the idle view. Is it possible to make him switch to the idle view faster in any way?
2. Even with animation speed 0, the shaking is not fast enough. Is is possible to make the character animate faster in any way?
On closer inspection, it seems that only the normal (i.e. walking) view is affected by AnimationSpeed. If that's correct, how do I change the animation speed of other views?
For this purpose I've used
player.AnimationSpeed = 0;
player.SetIdleView(7, 0);
where view 7 consists of two frames, such that the character 'jumps' up and down continuously whenever he is not walking.
However, I have two problems here:
1. Even with delay 0 in the idle view, there is still a bit of a delay after the character stops walking before he switches to the idle view. Is it possible to make him switch to the idle view faster in any way?
2. Even with animation speed 0, the shaking is not fast enough. Is is possible to make the character animate faster in any way?
On closer inspection, it seems that only the normal (i.e. walking) view is affected by AnimationSpeed. If that's correct, how do I change the animation speed of other views?