Skip to main content
Bruno Gregory
Known Participant
December 18, 2014
Answered

Basic Error

  • December 18, 2014
  • 1 reply
  • 817 views

Hello again, now i'm getting a basic error, i dont know why, if some one can help thanks,

my character is passing the background, how do i fix this? http://prntscr.com/5ib7qi

This topic has been closed for replies.
Correct answer kglad

that's because you're not correctly applying whichever solution you're trying, and it's not possible to say why it's failing because you've provided no info.

1 reply

kglad
Community Expert
Community Expert
December 19, 2014

usually you would use a hitTestObject or check the y property of your character to prevent movement beyond a horizontal plane.

Bruno Gregory
Known Participant
December 20, 2014

don't work '-' the player keep going under the ground

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
December 20, 2014

that's because you're not correctly applying whichever solution you're trying, and it's not possible to say why it's failing because you've provided no info.