How do I create a solid obstacles on a platform game with z

Get help using Construct 2

Post » Sun Nov 29, 2015 4:30 am

Hi
I have a question about.
In my game, a platform based fighting side scroller, which I currently working on, I have a z depth to my character and enemies.
Now, I want to create some obstacles, which the player can jump ahead and land on them. The problem is that the solid behavior doesn't work with the z depth apparently.
For the character, I have a Sprite for the player and Sprite for the movement (z depth).
Does anyone have a solution?
Thanks ahead!
B
4
Posts: 5
Reputation: 212

Post » Sun Nov 29, 2015 8:18 am

have a look at the jump thru behaviour - might be what you are after ?

https://www.scirra.com/manual/97/jump-thru
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
33
G
47
Posts: 1,194
Reputation: 30,782

Post » Sun Nov 29, 2015 8:21 am

what i suggest is that you check the collision property of the sprite in the properties menu, or you add a physics behaviour to the sprite you want the player to land on, and set the immovable to no, and check the density for the physics behaviour..check that and give me a feed back here.
B
2
Posts: 2
Reputation: 160


Return to How do I....?

Who is online

Users browsing this forum: Ajbael, drexegar, Phacanu and 9 guests