Why Is My Character Freezing? (SOLVED)

DaBomb905

  • Posts: 10
Whenever I get about halfway through my level, my character freezes. it's always the center of my camera, and my scene dimensions are 1280 pixels wide and 480 pixels tall with each box being 64 by 64 pixels. Ive tried using the bounds block with left being 0, top being 0, bottom being 480 and right being 1280.
 Help!

« Last Edit: April 21, 2019, 10:23:48 am by DaBomb905 »

stefan

  • *
  • Posts: 2263
without screenshots we cant help much. Perhaps you can upload the game to the stencyl arcade for us to have a play.

DaBomb905

  • Posts: 10
Heres the screenshot

JeffreyDriver

  • Posts: 2262
Does just the player freeze, or the game? I think you'll need to post the .stencyl file so we can see what's going on.

corbanwolf

  • Posts: 223
Can you publish your game as arcade here in stencyl so we can test it
♪♪♪♪♪♪

DaBomb905

  • Posts: 10
Its on stencyl arcade, named "problem" and it is the character that freezes, not the game.

corbanwolf

  • Posts: 223
Can you send link?
♪♪♪♪♪♪


corbanwolf

  • Posts: 223
I noticed that it's not character freezing. It still moves and is affected by gravity. For some reason controls don't work. Is he inside a region? Or, do you disable his behaviour by any point?
Can you post an event picture?
♪♪♪♪♪♪

DaBomb905

  • Posts: 10
Ok, thanks for the help so far btw

DaBomb905

  • Posts: 10
I see it now, that first if. Would I be correct?

corbanwolf

  • Posts: 223
Right. It's not screen right. Because screen is always the same. You can see that he stops responding just after crossing the line where screen border indicated scene border. Change from "screen width" to "scene width". And that should work.
Also your character is "sticky" when touching against walls. Change friction to 0 in his physics
♪♪♪♪♪♪

DaBomb905

  • Posts: 10
Thank you very much! I appreciate your help so much!