dansk1978's Forum Posts

  • Are there any pick nearest/touch examples at all?

  • Thanks for the help - it's very useful. I've tried that but the sprites either don't snap or end up on top of each other at one place (snapped). I think I may need to specify a particular cell somehow.

  • Hi

    I have a sprite for my board game and 9 positions that it can go on top of. I am using drag and drop but am struggling to drop the piece on one of the 9 defined cells rather than a gap in between. I would like the piece to be snapped to the nearest cell that it can go on when dropped - should I be using pick nearest in some way?

    Any help gratefully received!

    Thanks

    Matt

  • Thanks, I'm just wondering at the moment whether to make my "spots" (where the counters land) to be instances or a family and how to reference them all within events - such as movement.

  • Thanks that's great - I'll test it out tonight.

  • Hi

    I used the duplicate sprite feature (holding ctrl to copy more) - are they instances or sprites?

    Thanks

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi

    I'm very new to Construct 2 (but not to programming) and am trying to write a simple board game which is a bit like Tic-Tac-Toe. I have created a background and 9 "spots" on the next layer which are individual cells. I was wondering how to create an event whereby if I click on one of the 9 cells, a counter appears upon that one only? So far if I click on a cell, a counter appears on all nine! I just can't work out how to write an event which references one particular sprite!

    Thanks

    Matthew