Answer the question
In order to leave comments, you need to log in
How to make a building game in canvas?
There was a task: there is a panel of available blocks (should be scrolled as ScrollView/ListView).
From the Blocks panel, you can drag and drop different blocks onto the canvas. The block "magnetizes" to another if brought close enough. What to read so as not to step on a rake during implementation? Haven't worked with canvas before.
I see the main difficulties in magnetism and dragging the block from the scrolling panel to the main canvas.
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