Move tiles vertically

Get help using Construct 2

Post » Wed Aug 21, 2013 1:49 am

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:
https://www.dropbox.com/s/bqx15tc1leqbl6t/help.jpg

Thanks!
B
10
S
4
G
3
Posts: 103
Reputation: 2,984

Post » Wed Aug 21, 2013 2:00 am

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.
B
46
S
16
G
73
Posts: 2,084
Reputation: 43,677

Post » Wed Aug 21, 2013 5:15 am

[QUOTE=plinkie] 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.
[/QUOTE]
@plinkie
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.
B
10
S
4
G
3
Posts: 103
Reputation: 2,984


Return to How do I....?

Who is online

Users browsing this forum: odiusfly, R0J0hound and 26 guests