Platforms in the stage

Started by Ryon, September 01, 2022, 06:18:45 PM

Previous topic - Next topic

Ryon

I know this is not a normal thing.

Which is why I'm asking the most knowledgeable coders.
How do I code a platform?

If you don't know, then what's the coding theory of making a platform work? What kind of codes or values do I need to keep track of?

XGargoyle

If the platform is to be used only by P1 (root) you can use a helper.
If the platform is going to be used by P2 (enemy) or both players, use a projectile.
The trick is that the projectile/platform hits the characters and immediately places them to state 0 in the air.
You will need to do more advanced coding than that, to cover all possible interactions with the playform, but it's in a nutshell the logic of the code


XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!

Kanbei

I know back in the mugencoder site days, Alexei Roschak's naruto game had that coded i don't know how he did it though

that.guy

If you want to see code in action...

Karter released SSBB with platforms, and hills (walking on an angled platform)

https://mugenguild.com/forum/topics/ssbb-mugen-discontinued-171410.msg2201222.html
-download link works for the demo of their game.