Board Game

0 favourites
  • 7 posts
From the Asset Store
A complete Carrom Board artwork for making an awesome board game.
  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 9 different sprites or different instances ?

    Normally you just do something like:

    + On touch cell //Creates automatically a reference to the touched cell, this reference is available in every action and condition below of it

    -- cell spawn counter

    If you have different sprites put them into a family

  • Hi

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

    Thanks

  • They are different sprites, instead of duplicating them you should just copy them.

    Just click on them in the editor and press strg(ctrl) + c and strg(ctrl) + v.

    If you do it like you, you would need to put them into a family. If not you need for every object another event.

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

  • It will help you too: construct.net/en

  • 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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)