"Locking" a Sprite to another

Get help using Construct 2

Post » Thu Mar 15, 2012 10:11 am

Not sure if "locking" is the correct term.

I am making a Building Blocks style game.

My goal is something like this:

Building Blocks

I just need to figure out how one box would not lock onto another, as in this game. The Tower cannot fall over.

Thanks in advance.
B
11
S
2
Posts: 127
Reputation: 1,532

Post » Thu Mar 15, 2012 10:46 am

The Pin behavior locks a sprite to another sprite, try that!
B
38
S
13
G
9
Posts: 151
Reputation: 8,437

Post » Thu Mar 15, 2012 11:01 am

It was the first thing I tried and it wont work.Pixiefingers2012-03-15 11:03:32
B
11
S
2
Posts: 127
Reputation: 1,532

Post » Thu Mar 15, 2012 11:21 am

Hmm, could you explain a little bit more of what it is your trying to accomplish ?

Cheers !!
B
12
S
2
G
5
Posts: 31
Reputation: 3,494

Post » Thu Mar 15, 2012 11:33 am

Game

The blocks that get dropped must "Stick"...and not eventually topple.

The only blocks that should fall are the ones that are placed too far over, but still on top of another. KWIM?
B
11
S
2
Posts: 127
Reputation: 1,532

Post » Thu Mar 15, 2012 11:45 am

You mean, the blocks should "snap" together when droped on top of each other?
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Thu Mar 15, 2012 11:50 am

yup
B
11
S
2
Posts: 127
Reputation: 1,532

Post » Thu Mar 15, 2012 11:51 am

...it takes away part of the realism you are archiving with the physics behaviour.

By snapping, do you also mean aligning on the x-axis?Weishaupt2012-03-15 11:52:00
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Thu Mar 15, 2012 11:57 am

no, not aligning on the x-axis. Blocks should still fall when misplaced or missed completely by the player.
B
11
S
2
Posts: 127
Reputation: 1,532

Post » Thu Mar 15, 2012 11:58 am

[QUOTE=Weishaupt] ...it takes away part of the realism you are archiving with the physics behaviour.[/QUOTE]

Any other suggestions then?

If the whole tower topples, the player wont be able to see where to place the next block.
B
11
S
2
Posts: 127
Reputation: 1,532

Next

Return to How do I....?

Who is online

Users browsing this forum: Zebbi and 26 guests