alextro's Forum Posts

  • I have an issue submitting an attachment, so take a look screenshot below.

    Here you go:

    Just add < RoomTile | spawn sensor > in first event and duplicate the RoomTiles in layout as much as you needed

  • ffman22

    Love that mini lava boss. He seems has some threats to encounter!

  • Logitech gamepad f310 works well in my test.

  • You got me then. Here is a good reading for another matching system:

    http://gamedevelopment.tutsplus.com/tut ... edev-11759

    By the way nice recommendation source you gave me. Thank you for pointing that, since I'm collecting pathfinding articles to build my own astar system.

    My sample for basic flood-fill (non diagonal picking):

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oops.. you even don't need 'For each sensor', please disable it.

    When initial "Sprite" overlap with a "Tiles", it will trigger the corresponding Tiles to spawn a sensor that checks whether there is any overlapping Tiles within 4 directions at the edge (half width of Tiles). Each Tiles that overlapped by the sensor get the frame into a green color. Then instance variable "flowing" activated thus trigger chain reaction system that spawning another sensors for linked Tiles altogether. When the initial Sprite lost a connection to a Tiles, previous sensors destroyed completely and system reset.

    For spawn-wait-destroy part, is an experimental event I came up with when creating puzzle games. Usually puzzle-matching games rely on flood-fill mechanic. Just what newt said we can do it using an array to perform flood-fill. Alternatively we can also using direct overlapping test.

    Trust me I'm an expert over this subject

  • This update:

    Right now curvy motion is possible. Try to swipe in curve manner and see what it does!

  • Got this working with simple trick

  • Just like what beufreecasse said and my following suggestion.

    Take a look at the topic below to generate random pattern:

    You just need to adjust the variable maxRoomSize to fit your needs.

  • Great math implementation both graphical & audio output. Thumbs up for interactive UI!

  • Alternatively we can use loop with simple math

  • Would be fantastic if between picked blocks had a lines or something subtle to indicate they are all connected.

  • I like when the blocks fall and dump others. It's a nice combo system too.

    diagonal picking is less intuitive for me.

  • It's a good thing you visit & drop a comment Mminds

    I don't expect someone still looking into this thread and test the example. Lately I managed to make everything fast and flow but it leaves guest works on the code.

  • ' Learning Construct 2 ' published by PACKT publishing, available both physical and digital copies.

  • I will answered question number 2. In C2 you can choose what events (sheet of codes) will be run on that layout. Also An Event sheet can be combined with other event sheet by add 'include event sheet' and choose listed event sheets.