Disable stair animation and sound?

Started by Phygelius, February 02, 2017, 07:54:12 AM

Previous topic - Next topic
Hey =)
I want to add some transition zones between different gras layers on my map but don't know how to do that without stairs.
Is there a better way to do that or can I disable the animation and sound when the character uses a specific stair?

You can use sensors that change the layer of the hero when he walks on them. One sensor on each layer. You will probably need an invisible platform so that the hero does not immediately fall back to the lower layer when arriving on the higher one.
I will do a tutorial about this very soon.

Take a look at my tutorial on bridges:

http://solarus_resource.site88.net/tutorial/bridges.htm
My tilesets page can be found here:
http://absolute-hyrule-tutorials.solarus-games.org/

And here is my video tutorial on how to make a bridge! https://www.youtube.com/watch?v=bXQ7WGK8kvg
I also put a link to ffomega's tutorial.

Thanks ffomega and Christopho for your great tutorials!
It's working fine for me, but I can't throw shrubs upward because they disappear under the higher layer.
Is there a solution for that problem?

Generally I don't want thrown items or projectiles (arrows, boomerangs, the hookshot) to magically climb ladders.
But if you want to, it should be possible by using a custom entity that detects the thrown item and changes its layer.

As Chris says, you can use custom entities, instead of sensors, to change the layer of other entities appart from the hero. I want to point out that this can be used with enemies (the ones you want), so that they can traverse bridges/ladders of this type.
"If you make people think they're thinking, they'll love you. But if you really make them think, they'll hate you."

Thank you for your replies!
I wanted to throw the shrubs upwards, because the two grass layers are connected directly with each other (without a ladder) and it looks wierd when the shrub disappears under the grass...
but now the ground of my whole overworld is on layer 0, thats much more easier for a beginner.

My new problem now is, that I can't throw the shrubs downwards :P (because they collide with the slopes in any direction)
I would like to try the custom entity as a 'jumper' for objects, but I have never scripted before... so I don't know how to begin...