Urgent !! : Sinking down

Donni11

  • *
  • Posts: 2181
Hi Stencylers , I have a urgent question : My character in my game for LD keeps sinking in the tiles
and I tried everything  :'( ! Any solutions   :(? This game was submitted to Ludum Dare  and I want to fix it !
Peace

Donni11

  • *
  • Posts: 2181
Aw  :( , still no replies ....
Peace

sebstarr

  • *
  • Posts: 259
In collision groups, is the actor supposed to collide with tiles?

Check which group they're both in and then check in settings > Groups that Tiles / Actor are supposed to collide with each other.


Donni11

  • *
  • Posts: 2181
Yes , I tried that , it didn't work ...
Peace

merrak

  • *
  • Posts: 2738
I'm curious what the debug draw shows.

ceosol

  • *
  • Posts: 2279
If you added something to the actor after initially putting him there, try deleting him from the scene and put him back in (sometimes actor behaviors in scenes do not update if they have been customized).

Or add a block saying "if y of actor + height of actor > y of platform" then always "set y of actor to y of platform - height of actor"

If all else fails, put a boolean for when a collision happens and draw or print it to show you whether the collision is actually occurring.

ETHproductions

  • *
  • Posts: 430
Now that I think about it, the likely reason for this is that some animations have different collision shapes. Make sure that ALL of the player's animations have THE SAME collision shape.
Fontstruct - Stencyl - Website (in progress)

Proud Member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.

yoplalala

  • *
  • Posts: 1632
I'm curious what the debug draw shows.
Can you post a version with the debug drawing ?