Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / A checkers game

Author
Message
whipped6
18
Years of Service
User Offline
Joined: 31st Aug 2006
Location:
Posted: 23rd Sep 2006 19:29
Hello im trying to make a checkers game im trying to get a good checkers sprite right now but that dont matter, right now i have loaded a checkers piece on a board im wondering how to make the pieces to go to specific spots here is my code so far.

Sync On

` Load chess board
load image "boards.bmp", 1
Load Image "checker.bmp", 2
Sprite 1, 0, 0, 1
Sprite 2, 0,0,2
DO
if mouseclick()
sprite 2,mousex(),mousey(),2
endif
sync
LOOP

game creator
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 23rd Sep 2006 19:46 Edited at: 23rd Sep 2006 19:48
FOUR threads in the 2D forum, TWO in the DarkBasic forum ... I make this thread number SEVEN all asking about the same thing!


whipped6
18
Years of Service
User Offline
Joined: 31st Aug 2006
Location:
Posted: 23rd Sep 2006 21:14
scraggle lol im not asking about the same thing im asking for different things each time this time i asked how do i move them to a specific spot

game creator

Login to post a reply

Server time is: 2024-09-25 09:32:11
Your offset time is: 2024-09-25 09:32:11