Collision player and platform no detect.

Apamaster

  • Posts: 129
I have a problem trying to make a one-way platform.
I have created a Ground which detects if the player collides with a group which he calls platform, but when touching it nothing happens should be put On ground in true but it does not happen (On ground I also use it to detect if the floor is touched in other behaviors ) Can there be a conflict of variables?
Ground Copy is for platform ( not work)
On ground is for tiles

« Last Edit: January 27, 2020, 10:15:49 pm by Apamaster »

Luyren

  • *
  • Posts: 2740
Download this resource pack: https://luyren.itch.io/luyrens-miscellaneous-stencyl-behaviors
and follow the instructions. The included Player Control behavior has one-way platforms support, so you can either use it, or see how it's done there.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

Apamaster

  • Posts: 129
aa jaja yes great jobs tanks, but I can't find where the code.

« Last Edit: January 28, 2020, 11:55:32 am by Apamaster »

vicevicebingo

  • Posts: 80
Download this resource pack: https://luyren.itch.io/luyrens-miscellaneous-stencyl-behaviors
and follow the instructions. The included Player Control behavior has one-way platforms support, so you can either use it, or see how it's done there.
behavior Time Count
When Drawing   Unexpected
stop me test game

Take out a tick   from the tickbox
in Drawing [tick]

oh test game.

Luyren

  • *
  • Posts: 2740
behavior Time Count
When Drawing   Unexpected
stop me test game

Take out a tick   from the tickbox
in Drawing [tick]

oh test game.
This is not the thread for it, but either way: you have to select a font to draw timers, otherwise your game will crash.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

Apamaster

  • Posts: 129

I solved it with a new code, from the resource pack that I recommend. create a code that works i will upload it later.