Page 1 of 1

Problem with collision code

Posted: Tue Jan 28, 2014 8:37 pm
by VetruvianSprite
I just started this new project but right out of the gate I'm having a problem I can't fix, this is supposed to simply reset the player to the last non-collision space but instead its doing all sorts of weird things, I've done this a million times already and I can't figure out whats wrong.

P.S. the art isn't mine its just placeholder, just in case anyone recognized it from somewhere.

Re: Problem with collision code

Posted: Tue Jan 28, 2014 8:52 pm
by Ranguna259
With the way your code works you shouldn't set it to the last, try setting it to the current

Re: Problem with collision code

Posted: Tue Jan 28, 2014 11:22 pm
by VetruvianSprite
Thanks! The solution was right in front of my face lol