sifar's Forum Posts

  • 13 posts
  • Hi,

    How do I use the Ejecta plug-in to make a leaderboard for Gamecenter? I have tried and tried but can't make it work.

    Thanks.

  • really cool game.

    Thanks. <img src="smileys/smiley9.gif" border="0" align="middle" />

    And thanks again for taking an interest and helping out. I am trying a few new things. Let's see how that goes.

  • Couldn't you create a score based on that number 7 or on the balls in the middle of hexagons?

    I can't seem to. When the Score is added, it just keeps on adding instead of adding only once for each 7.

    Is there any way for each 7 to be taken into account but only once?

  • You're right LittleStain. So here's the Capx. <img src="smileys/smiley1.gif" border="0" align="middle" />

    dropbox.com/s/to5z4ip7et7innm/Hexagon1.capx

  • Thanks for your input AngelEyes.

    I did try it. But every time 1 is added to 'Hex' , the score to which 10 is added, keeps increasing indefinitely. I have tried "Trigger Once" but then only the first match is counted and never the subsequent ones.

    This has me completely stumped. <img src="smileys/smiley5.gif" border="0" align="middle" />

  • Thanks for your reply. <img src="smileys/smiley1.gif" border="0" align="middle" />

    I already have a global variable for "Score". But it doesn't work properly.

    As you can see from the pic, 13 red balls are destroyed but 4 hexagons are actually made. So it's only fair that the player should get points for 4x7=28 balls and not 13. And that's where scoring fails to work.

  • I am building a Match-3 type of game where balls arranged in hexagon-grid are tobe destroyed according to their color. The gameplay is working fine but I can't make the scoring work. I have a text message popping up everytime seven or more balls of the same color is destroyed. But I can't seem to make the scoring work. Any help will be very much appreciated.

    <img src="http://i43.tinypic.com/152deno.jpg" border="0" />

    In the pic above, the balls with 50% opacity are the ones about to be destroyed.

    Things become even more screwy when more than one hexagon of the same color is formed at the same time like in the picture.

  • Never mind, guys. I think I solved it. Thank you all so much for your help and time. <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is driving me up the wall. Any and all help will be deeply appreciated.

    I have been following the gamedev.tutsplus.com/tutorials/from-scratch/make-a-match-3-puzzle-game-in-construct-2-match-detection

    This is what I have come up with.

    dropbox.com/s/g5w71ztfcwsudcy/HexagonMatch.capx

  • Thanks for the link. It's a great find for someone like me.

  • Is there any other way to call the Function for all the balls other than using the "For each"? May be use the Loop Function? Since the ball would have to be destroyed automatically each time the condition is fulfilled, all the balls have to be taken into account.

  • Thank you so much for taking an interest in my problem and also for the quick replies.

    Now in my concept the balls can be swapped. The player has to do the swapping and then create a situation like in the image I posted earlier. At that point the seven balls get destroyed. That's where I am stuck.

    Using the idea from zatyka, I did something like the image below, calling the funtion "FindMatches" for each ball after each swap.

    <img src="http://i39.tinypic.com/syru6d.jpg" border="0" />

    But it is not working. Can you guys help some more.

  • I am really new to Construct 2 and so this might be a stupid question but here it is. If anyone can help, I'll be really grateful.

    I have instances of same sprite in a hexagonal grid.(8 by 8) The instances have randomised animation frame on display (three frames - red, green and blue).

    Now if six instances with the same color are positioned in a hexagon with one in the middle, they will get destroyed. But I can't figure out a way how to detect if that happens.

    <img src="http://i42.tinypic.com/2igf63b.jpg" border="0" />

    For example, in the image above, the six blue balls are positioned around another blue ball. Now I want to be able to destroy them automatically. So, how do I go about it. Any and all ideas are very welcome.

  • 13 posts