Answer the question
In order to leave comments, you need to log in
Complex interface, need an algorithm?
There is such a layout, this is an inventory layout from the future GTA5 mod.
The difficulty is that.
1. Things must move through DragAndDrop.
2. One thing can occupy more than one cell.
Does anyone have any thoughts on how I can implement this? So that it still does not lag.
Answer the question
In order to leave comments, you need to log in
the interface is primitive. Objects probably also only occupy rectangles. Cells of the whole cat cried.
Even if you cheat as it turns out, you won’t lag, and if you do, then you have a great talent.
What exactly is difficult for you? break the screen into cells? Or carry an object from one cell to another? both at the level of school computer science + a little reading of the documentation on canvas and drag and drop
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question