Search found 12 matches

by kesh17aki
Thu May 23, 2013 3:19 am
Forum: Games
Topic: Limit 2 players in a game
Replies: 1
Views: 4495

Limit 2 players in a game

hello, i have a 2 player game similar to snake and ladders. But my problem is i have a 2 player game, a girl and a boy. i wanted to trap the code like theres only 2 players .The flow goes this way, when the user clicks either of the two players given, for example player 1 choses the girl player and ...
by kesh17aki
Tue Apr 30, 2013 5:07 am
Forum: Converting to LiveCode
Topic: iBooks author to livecode
Replies: 5
Views: 10586

iBooks author to livecode

Hello guys... I just wanted to ask if there is any possibility that livecode could read ibooks author ebooks or is there any possibility that ibooks author ebook download can be secured through embedding a code for securing the download for ebooks, like minimizing ebook piracy. For example, i have ...
by kesh17aki
Fri Feb 01, 2013 2:06 am
Forum: Games
Topic: how to use the repeat loop
Replies: 0
Views: 3771

how to use the repeat loop

hi there, can you help me with these? im having a problem on my player's move regarding on the deduction of move. i have here the code:
on movePone

put (numdice1+sdice) into sdice
put setofLocations(sdice) into pMoveOneLoc
getTheLocation "plyrOne"

if sdice > 36 then
put (sdice-36) into ...
by kesh17aki
Tue Jan 29, 2013 4:14 am
Forum: Games
Topic: how to subtract the move of a player
Replies: 2
Views: 5468

Re: how to subtract the move of a player

thanks for the help. now i got it all working :) now i know what's the difference when putting "the" in item and the item alone :)
by kesh17aki
Sat Jan 26, 2013 2:17 am
Forum: Games
Topic: how to subtract the move of a player
Replies: 2
Views: 5468

how to subtract the move of a player

im having a problem regarding on how to make the player move back. i have a gameboard for snake and ladders. and i only have 36 grids. each grids has a specific location. my problem is when the player reaches to the last line of the grid. w/c means the player reaches the last line of the grid. when ...
by kesh17aki
Fri Jan 25, 2013 10:47 am
Forum: Games
Topic: how to switch turns in a two player game
Replies: 11
Views: 14551

Re: how to switch turns in a two player game

yes i know,, but in my part being a newbie.. i still need help from the experts like you :) hope you can help me,
by kesh17aki
Thu Jan 24, 2013 3:42 am
Forum: Games
Topic: how to switch turns in a two player game
Replies: 11
Views: 14551

Re: how to switch turns in a two player game

thanks. now i got it all working :) do you have any codes for 1 player vs computer? coz im planning to add another feature for this game, tnx
by kesh17aki
Wed Jan 23, 2013 2:53 am
Forum: Games
Topic: how to switch turns in a two player game
Replies: 11
Views: 14551

Re: how to switch turns in a two player game

well its ok. i got it all working. but my problem is how to reset the game. i have two "Winner" cards for each players. and it has a play again and quit buttons.. my problem is if i click play again, the whole game wont reset. so i would like to reset them, like put empty into their field names ...
by kesh17aki
Tue Jan 22, 2013 7:38 am
Forum: Games
Topic: how to switch turns in a two player game
Replies: 11
Views: 14551

Re: how to switch turns in a two player game

yes Klaus, thank you for the help :) its working
by kesh17aki
Mon Jan 21, 2013 1:46 am
Forum: Games
Topic: how to switch turns in a two player game
Replies: 11
Views: 14551

Re: how to switch turns in a two player game

thank you for the warm welcome Klaus :) thanks for the help..heres the whole code for this

global pOnename
global pTwoname
global diceNum,rdiceNum,sdice,pOneMove,theCurrentLocation, nxtLocation,pMoveOne,pMoveOneLoc,theCurrentLocationTwo,pMoveOneLocTwo
global numdice1,numdice2

on preOpenCard
put ...
by kesh17aki
Sat Jan 19, 2013 4:43 am
Forum: Games
Topic: how to switch turns in a two player game
Replies: 11
Views: 14551

Re: how to switch turns in a two player game

i have here my code for my dice loop
on mainEventLoop
// Continue this loop until gRun is set to false.
lock screen
--enableDisable
animateDice // Animate the dice
unlock screen
// Delay further execution by 50 milliseconds.
// But allow button clicks to be processed.
if gRun is true then ...
by kesh17aki
Sat Jan 19, 2013 4:27 am
Forum: Games
Topic: how to switch turns in a two player game
Replies: 11
Views: 14551

how to switch turns in a two player game

hi i would like to ask how to code a two player game,, i have a problem regarding switching of turns in my game.. i created a game just like snake and ladders. i have two players, since player 1 always starts first, how would i take player 2's turn.. like after player 1's turn...