Is it possible to create a game like checkers with GS ??

aalzankiaalzanki Member Posts: 283
edited November -1 in Working with GS (Mac)
Hi..
Is it possible to create a game like checkers with GS ??
If yes, how would I let the actor move ??

Comments

  • synthesissynthesis Member Posts: 1,693
    I would think yes.
    Have the human move the checkers. Otherwise you will need to build an AI sequence...which is doable but fairly advanced and difficult.
  • aalzankiaalzanki Member Posts: 283
    I mean how to make the actor moves perfectly and stops at the position ? :)
    by the thanks for the helpful information .
  • synthesissynthesis Member Posts: 1,693
    The sequence logic is:
    when touch is pressed, checkerPiece.position.X and Y = device.touch.X and Y.
    when touch is released and when checkerPiece(actor1) overlaps the boardSquare (actor2)...
    self.position.X and Y (actor 1) = boardSquare.position.X and Y (actor2)

    The above is not the actual syntax...but is the correct logic sequence.

    Make sense?
    If not...you probably need to do some tutorials and read up in the old forum posts as well as the reference section if you haven't already. It takes a week or two to get your head around everything...but if you take the time to do that...LIFE WILL BE MUCH SIMPLER LATER.
  • aalzankiaalzanki Member Posts: 283
    thank you synthesis :)
    I will take a look at the things you said.
  • design219design219 Member Posts: 2,273
    Hass did a game a few months back that is sort of like moving checkers. It worked really well.

    http://itunes.apple.com/us/app/oh-nuts/id333251039?mt=8
  • jhaasjhaas Member Posts: 233
    If and when they get an array data type it would make games like that a lot easier. For as simple as "Oh Nuts" is - it had a lot of tedious rules to make sure only legal moves were accepted.

    Checkers would be the same concept but with many more rules as the board is larger and you have two sets of game pieces.

    It can probably be done - but it won't be for the faint of heart. :)
  • design219design219 Member Posts: 2,273
    You know, I've been wondering how many rules were in "Oh Nuts." I think that was about the first GameSalad game I bought, and had not really dug into GameSalad at that time. Looking back, that is a rather complex game to be so simple.
Sign In or Register to comment.