Answer the question
In order to leave comments, you need to log in
How to implement camera + viewport CANVAS in game?
Hello, Dear programmers!) I don’t understand how to correctly implement a camera on a game character.
please tell me how to do it right?
Answer the question
In order to leave comments, you need to log in
Choose one of the popular engines, and look at the source.
https://www.slant.co/topics/768/~best-javascript-g...
There are several more than one way, and there is no single correct one.
If you are not at all in the subject, then before writing your own engine, it does not hurt to get acquainted with the capabilities of competitors.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question