Shardcreaver's Forum Posts

  • 3 posts
  • Hi, I don't have the full licence, I'm planning on just prototyping with this tool actually. The project is pretty much the same I think, I use circles but just for the bitmap, the overlapping is actually a square. For the setting twice the position, I already changed that, the screenshot was a bit old. I'll try getting rid of the tiles then and just passing positions. Something still is weird when I check if the color matches though. I'll look into it with more detail soon.

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey thanks for the reply,

    The other thread is just a coincidence for me the project is just for fun.

    The inverted 'is overlapping' checks are just to make sure you are not overlapping with more than one position.

    Without them it triggers also if you're overlapping the bottom and the left one for example.

    What do you mean by the array is overkill? I figured this would be the proper way of storing positions temporarily, is there a simpler way?

    The tiles (up, down, left and right) are the same size as the circles, or do you mean make the code blocks smaller?

    Thanks again

  • Hey everyone, I started using Construct 2 a few days ago following the match 3 game tutorial on tutsplus.

    The project I'm making is similar so it's a good base. However I'm having trouble figuring out how the else condition works, or I might possibly be passing my parameter wrong. Here is a screenshot of my event sheet:

    In my Stack() function I want to do different things if the color matches and if it doesn't:

    -If the dropped one matches the color of the one it overlaps, I want to destroy the one at the second position [(1,0), (1,1)] and move the dropped one to the second position and increment its level (stacking it).

    -If the color doesn't match, I want to put the dropped one back at position [(0,0), (0,1)] where it started (just as if it wasn't overlapping any valid position, top, bottom, left or right) , and do nothing else.

    Am I passing my function parameter wrong?

    Is there something wrong with the hierarchy of the Stack() function?

    Maybe I'm using the array wrong? It's 2x2

    Any help would be greatly appreciated, I feel like I must be missing something silly.

  • 3 posts