G
G
ganjavee2019-06-28 01:31:04
css
ganjavee, 2019-06-28 01:31:04

How to make it so that when dragging an item, it does not go beyond the boundaries of the cell?

Hello! Goal: you need to create something like this game https://cdn-factory.marketjs.com/en/mcdonalds-play...
Problem: How to make sure that when dragging an item, it does not go beyond the boundaries of the cell? To do this, but with keyboard control, you can safely, but somehow I find it difficult to make it work using drag and drop.
Any thoughts? Any suggestions and solutions are welcome. Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Shcherbakov, 2019-06-29
@VAShcherbakov

I would look in the direction of Phaser, there it will be possible to add graphics

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question