How do I move squares to an exact position?

Get help using Construct 2

Post » Fri Mar 28, 2014 4:40 pm

Hey guys, could someone please help with a question I have.

For instance, let's say I were working on a game like 2048 (http://gabrielecirulli.github.io/2048/) how would I build the game in a grid format like that and have the sprites slide to a locked position depending on which key was pressed? I am very interested in making simple puzzle games like this, but I am not sure how to do this.
B
2
Posts: 3
Reputation: 156

Post » Fri Mar 28, 2014 4:55 pm

Either use lerp or look into one of these two third party plugins.
Moveto and Litetween.
You could also look at the move to example shipped with construct.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Mar 28, 2014 5:10 pm

Thanks, will look into these options
B
2
Posts: 3
Reputation: 156

Post » Fri Mar 28, 2014 5:37 pm

Where could I find the move example?
B
2
Posts: 3
Reputation: 156

Post » Wed May 28, 2014 9:44 pm

@joshualowe I was struggling to move things on exact position until I found an amaizing plugin MoveTo https://www.scirra.com/forum/viewtopic.php?t=63156&start=0
Now I used in all my games. It is just awsome. You can accelerate and decelerate
B
84
S
21
G
23
Posts: 521
Reputation: 18,789

Post » Wed May 28, 2014 10:11 pm

i didn't understood, but accourding to the nature of your game, my idea is to use arrays.
2D Game GUI Designer
B
12
S
4
G
3
Posts: 130
Reputation: 3,778

Post » Thu May 29, 2014 10:10 am

Here is the working demo by someone please credit the person and not me Lord Shiva
You do not have the required permissions to view the files attached to this post.
B
257
S
43
G
15
Posts: 1,993
Reputation: 41,537


Return to How do I....?

Who is online

Users browsing this forum: dop2000, Lancifer and 30 guests