Move tiles vertically

0 favourites
  • 3 posts
From the Asset Store
This is a code so you can see the same skin on all screens (peers). Each peer gets a skin, in addition to 4 directions t
  • So I have three tiles like this:

    1

    2

    3

    I would like to move them so they end up like this:

    2

    3

    1

    OR

    3

    1

    2

    Here's what I tried:

    dropbox.com/s/bqx15tc1leqbl6t/help.jpg

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Many ways to do it, it really depends on what you want to make in the end.

    If you are referring to teleporting tiles then something as simple as this will work:

    On 1 touched > 1 Set Position (3.X, 3.Y+160)

    if the sprites were 160 pixels high it would move it below 3.

    If you are talking about dragging 1 below 3 you can just add a drag and drop behaviour to the tiles.

  • Many ways to do it, it really depends on what you want to make in the end.

    If you are referring to teleporting tiles then something as simple as this will work:

    On 1 touched > 1 Set Position (3.X, 3.Y+160)

    if the sprites were 160 pixels high it would move it below 3.

    If you are talking about dragging 1 below 3 you can just add a drag and drop behaviour to the tiles.

    I don't know if we're on the same page. I'm using 3 tiles to keep things simple, but I want to have more, say 10. I want to be able to slide a column (or multiple columns) up or down and have the tiles cross over from the top of the screen to the bottom and visa versa.

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