Good Morning
I would like to know how I can do to create a sprite "wall" that will be magnetized to another already created ..with a position in relation to the position of the mouse
Here's an image can be more explicit
Develop games in your browser. Powerful, performant & highly capable.
I'm not sure that I understand exactly what you want but have you looked into the Pin behavior?
... I would create an event that will allow me to create a wall .. With ghosts positions that will be possible to create
And indeed I will look with the pin behavior ??
If I understand it you can only put a wall near another one, is that right?
In this case, you must set an isometric grid and show the ghost only in positions adjacent to an existing wall.
Ok, but how to display a grid iso ... With a sprite ???