Character Glitching. Need Help.

BeauHammer

  • Posts: 20
Most of the time my character dies when he hits the water, but occasionally he gets stuck inside the water and just slides along it. Does anyone know how I could fix this without using regions to restart the level?

GarrowGlitch

  • Posts: 226
IF X of Character > (y position of water) Kill Self

GarrowGlitch

  • Posts: 226
sorry not X.....Y



Innes

  • *
  • Posts: 1960
I can't seem to do this, any other ideas?

If you post a screenshot of what you have tried, then we can suggest solutions.

There's no reason for the Y> test to fail unless there is a misunderstanding somewhere.
Visit www.TheStencylBook.com - the only published book for learning Stencyl.

BeauHammer

  • Posts: 20
I can't seem to do this, any other ideas?

If you post a screenshot of what you have tried, then we can suggest solutions.

There's no reason for the Y> test to fail unless there is a misunderstanding somewhere.

I was unable to do this as my knowledge with stencyl isn't the best, is this easy to do or not?

Innes

  • *
  • Posts: 1960
At the bottom right of the block palette, there's an icon of a camera. Click it to take a screenshot.

Save the screenshot, and then click reply in the forums. At the bottom of the reply scene, you'll see a link to for attachments.
Visit www.TheStencylBook.com - the only published book for learning Stencyl.

misterfreeze

  • Posts: 84
I wonder if this problem is similar to the one i had when making the Greem Hopper Game. The player somehow managed to get stuck inside the tiles from time to time. The only solution was to increase the boundary collision points, making them a few pixels wider. I think it could be a Stencyl bug. What's your take on that @Innes?
Slightly off topic: i suggested in another post that it would be great if there was a Stencyl code block repository where devs could post their screenshots of solutions to common problems and it would be a great learning aid to creative souls who are not that hot with coding and game logic.
There are so many good answers on the forums but they're rarely visual answers and how hard it is to find that answer months / years down the road! Just an idea :-)