V
V
Valentine2018-08-09 00:41:59
Python
Valentine, 2018-08-09 00:41:59

How to fix an animation created with pyganim?

Here is my project on GitHub: https://github.com/DeepDagon/ExtraAlchemy
In the player.py file I describe the character and its animation, and in the main.py file I draw it.
The rest of the files are irrelevant to the question. The problem is that the animation should play when moving up, down left and right, but plays when moving diagonally. Plus, it twitches and flickers. I thought that it might be worth lowering the frame delay (animationDelay), but as I understood by googling, recently it cannot be lowered below 1. What should I do? I would be grateful for any help, since I myself am a beginner and have no idea what to do.
UPD 1: I fixed the problem with movement, it remains to decide what to do with jerky animation.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valentin, 2018-08-09
@val_gr

The problem was solved by rolling back to version pyganim 0.9.0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question