edescamps's Recent Forum Activity

  • Thanks mindfaQ. I haven't been able to see your capx because i need to download the beta version of C2, but could you please elaborate on how my exchanging of pieces is flawed? It would be a great help for the future!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello! I'm working on a Diamond Dash type matching algorithm. Right now it works 95% of the time, all of the time (lol).

    The idea behind it is simple. Once a game piece is placed, check the game pieces around it, starting at 0 degrees working its way counter clockwise. Once a match is found, check pieces around that game piece. If no matches are found, retrace steps and check pieces that have not been checked.

    Please take a look at it, feel free to use the algorithm and comment any bugs that are rendering it unuseful 5% of the time!

    Thnx!

    https://www.dropbox.com/s/9q0eadso2xvv3 ... .capx?dl=1

    PS: Cannot attach capx to post for some reason...

  • Awesome! Thanks Frag.

  • I fixed it. Ended up changing conditions for Enemy.Bullet.AngleOfMotion = 0 and Enemy.Bullet.AngleOfMotion = -90 to having a double condition checking if it is grater that -20 and less than 20 for the 0 case and grater than -110 and less than -70 for the -90 case. If anyone figures out why it does not work with the "=" case, please let me know as it is a simpler solution.

  • Here is the CAPX.

  • Hello. The system will check for four conditions and make changes when those are met. It is correctly making changes for two of the conditions, but not for the other two. By using a text box, I have made sure the conditions are met, but still no changes. If i change the condition in the start of layout, the appropriate changes are made, but not afterwards.

    Any clues to what is going wrong?

    Thanks in advance.

edescamps's avatar

edescamps

Member since 7 Nov, 2014

None one is following edescamps yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies