Quantcast
Channel: 2D Latest Topics
Viewing all articles
Browse latest Browse all 623

How to disable drag event

$
0
0

Hi all.

I'm new to game development. Now I'm trying to make a game like chess but it's traditional game in Laos.

56a0c50c0cd17_ScreenShot2016-01-21at18.4

The Reds must be on black block only, can not be on white block.

But right now they can move to white block, so any one can help me to solve this problem? 

I have experiences on programming (not Javascript), just tell me some concept then I will find the way.

Thanks in advanced.

 


Viewing all articles
Browse latest Browse all 623

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>