A
A
Andrey Onkhor2018-12-03 20:10:10
C++ / C#
Andrey Onkhor, 2018-12-03 20:10:10

SFML Bug with animations in time and CurrentFrame. How to solve it?

Greetings people! I would like to know what is wrong and how to solve it.
Main.cpp source:
The source is hidden.
Source PlayerScript.h:
Source is hidden.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Onkhor, 2018-12-04
@s4k0r4

I fixed the error
. It was in the lines where I increased CurrentFrame += 0.005 * time
And I just forgot +.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question