How do I make an "Arrange in order" type of quiz?

Get help using Construct 2

Post » Sun Apr 30, 2017 9:44 am

What I'm trying to make:
Image

Have 4 texts. Arrange them in order by moving them with mouse/touch.

So far I got the drag & drop working, also tried out by comparing Y between instance variables to call functions that trigger the texts to move to pre-set positions. But the whole thing is inconsistent and has many bugs that I can't seem to fix.

Has anyone done something similar or knows of a good solution? Thanks!!!
B
10
S
4
Posts: 34
Reputation: 874

Post » Sun Apr 30, 2017 1:15 pm

@Turaco

Comparing by Y works, if you compare the object to a Family of that object.

You can use instance variables to remember their old position and local variables as temp storage for swapping position and instance variables.

Here's an example capx (r244)
Vote for all the Construct 2 games on Steam Greenlight - Find them here
B
33
S
9
G
7
Posts: 450
Reputation: 6,778


Return to How do I....?

Who is online

Users browsing this forum: tdcostas and 6 guests