A
A
Alexey Anisimov2018-09-23 07:52:38
JavaScript
Alexey Anisimov, 2018-09-23 07:52:38

How to animate multiple elements at the same time?

Need to animate two elements on canvas. Let's say in the game you need the player to be able to shoot and move. Using a timer or interval for this is a pain. It is desirable that the answer was with an example.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question