Answer the question
In order to leave comments, you need to log in
Building an editor for your own JavaScript game?
Good afternoon! I'm making a game in js using pixi.js as the graphic lib and matter.js as the physics library. Are there any ideas for a general concept for creating a map editor that creates an array of environmental objects, for example a stone, it has a collider, in the form of, say, a circle and a sprite (a picture of a stone). The stone class itself represents an interface for manipulating both the collider and the sprite, adhering to good programming style, the stone class is a facade pattern. As a result, the editor must create many different facades. What are the pitfalls when creating an editor? Nuances? If someone has already encountered the creation of this, could you share your experience?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question