How do I make a block stack movement without using physics?

Get help using Construct 2

Post » Wed Jul 16, 2014 7:58 am

As the title says, do I have to use loops like a Multimedia Fusion example: Blocks example from Nivram's MMF2 examples site or something else? :(
Twitter | Facebook | Instagram

If you play Puyo Puyo games, you can meet me at the Puyo Puyo English Community Discord: https://discord.gg/0k41S8ARwvY2iTIQ
B
103
S
24
G
11
Posts: 697
Reputation: 12,898

Post » Wed Jul 16, 2014 9:01 am

Simply create instance variable name it 'speed'. Move the block by set the var 'speed' with desired number. When the block overlap/collide, make the 'speed' zero and it should stop moving.

For actual example see mine's
collapse-puzzle-under-50-events_t90043?start=10

There are some tetris examples in forum, that give ideas how to arrange the blocks in stack manner. One of them came from rojohound.
ImageImage
B
108
S
49
G
23
Posts: 783
Reputation: 22,611

Post » Wed Jul 16, 2014 12:00 pm

Thanks, @alextro.
Twitter | Facebook | Instagram

If you play Puyo Puyo games, you can meet me at the Puyo Puyo English Community Discord: https://discord.gg/0k41S8ARwvY2iTIQ
B
103
S
24
G
11
Posts: 697
Reputation: 12,898


Return to How do I....?

Who is online

Users browsing this forum: khelaghor and 40 guests