Movable blocks ? (Solved)

For questions about using Classic.

Post » Mon Mar 21, 2011 10:55 am

How can I make a character with platform behavior be able to push some blocks. I tried using custom movement and an action: on collision between objects bounce off player but that doesn't work well for me D:
B
2
G
2
Posts: 34
Reputation: 718

Post » Mon Mar 21, 2011 12:08 pm

I made a demo cap for you.Hope this helps.Used V 0.99.97 of Construct
[url:1d42dgp7]http://dl.dropbox.com/u/7658043/pushblocks2.cap[/url:1d42dgp7]
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Mon Mar 21, 2011 2:34 pm

Its good when I have 1 block,but if i want more blocks on top of eachother it doesnt work as expected. :(
B
2
G
2
Posts: 34
Reputation: 718

Post » Mon Mar 21, 2011 2:37 pm

That's easy,Create more objects as blocks and give each block the same event's as my demo cap.
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Mon Mar 21, 2011 2:40 pm

There is "overlapping at offset" condition. With it you can detect collision with solid objects
B
2
S
2
G
2
Posts: 158
Reputation: 1,366

Post » Mon Mar 21, 2011 2:55 pm

B
2
S
2
G
2
Posts: 158
Reputation: 1,366

Post » Mon Mar 21, 2011 9:08 pm

[quote="DtrQ":1kk7gtum]Here's example
http://rghost.ru/download/4862871/19a1d ... f/push.cap

(or http://rghost.ru/4862871 if first link don't work)[/quote:1kk7gtum]
Thanks a lot, I figured it out.
B
2
G
2
Posts: 34
Reputation: 718


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 9 guests