I essentially want a platform object whereupon a character can jump from underneath and not collide (platformer character goes through it), but when you are jumping from above, it collides with it, stopping you from falling.
Is this possible without having to pull up my sleeves and create my own plugin?
I get that it's probably possible with events on a single-player game, by turning off the Solid behavior when the character is under it, but it would affect the other sprites that are on top of it, no?
This is not actually urgent; it's more of a curiosity of mine.
yes its possible
for each platform (consisting of all the blocks that need this behavior)
if platform.y > player.y set platform solid behavior to not solid
Jumping into and destroying blocks - LINK from the How do I FAQ
Develop games in your browser. Powerful, performant & highly capable.
Construct 2 needs a new alternative to Solid - Classic called it "platform" and it's a solid you can jump on to from beneath.
However that name would conflict with the "platform" movement! Any ideas what the attribute should be called to not conflict/be confusing with the platform movement? :P
jumpthru or dropthru
But you can also use this behavior for an "One-Way-Door" perhaps by turning it on 90??
What about "oneWay"
Or you could call it Valve behaviour.
One Way Door - it's cool idea! this is a more abstract concept
I like jumpthru, think I'll go with that!
Wait so this means it's being done, Ashley?
Could I also request to ability to drop down through it, by pressing the down button? Or have the ability to enable that in code (when keyboard.downArrow, disable collision on x object)?
I like down and jump myself. I think having an action for it would be good so people could customize it, like:
on jump pressed
if down pressed
...or something like that.