Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create a board game
#9
I'm going to share the code I've made because I'm at an impasse and I don't know how to continue.

I have three problems:

1-there is a cursor that moves around the board and if you stand on top of a player's piece and press "z" it picks it up and you can drop it on another square with the "x" key, but the problem is that it drops it anywhere box and I want it to only be able to be dropped in the dark boxes and I don't know how to do it.

2-when I grab a player token you can grab other player tokens at the same time and I only want it to grab one token at a time but I haven't been able to do it.

3-When I have a player token I should only be able to move one square per turn but it can be moved to any square, as could be done.


Attached Files
.zip   damas.zip (Size: 467.34 KB / Downloads: 6)
Reply


Messages In This Thread
How to create a board game - by aliensoldier - 02-11-2024, 09:09 PM
RE: How to create a board game - by Marcus - 02-13-2024, 06:56 PM
RE: How to create a board game - by aliensoldier - 02-13-2024, 07:54 PM
RE: How to create a board game - by johnno56 - 02-13-2024, 09:12 PM
RE: How to create a board game - by aliensoldier - 02-14-2024, 04:27 PM
RE: How to create a board game - by johnno56 - 02-14-2024, 07:10 PM
RE: How to create a board game - by aliensoldier - 02-14-2024, 07:49 PM
RE: How to create a board game - by johnno56 - 02-14-2024, 09:57 PM
RE: How to create a board game - by aliensoldier - 02-23-2024, 04:34 PM
RE: How to create a board game - by Marcus - 02-23-2024, 09:06 PM
RE: How to create a board game - by aliensoldier - 02-24-2024, 01:44 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)