Object pick up issue [RESOLVED]

Mikee

  • Posts: 5
Hey guys.

So I have a scene where objects are created on the screen as powerups the player can pick up, which works perfect with no issues but one.  When the player is moving forward and turning at the same time the object doesn't react to the player at all.  The object is a sensor and the collisions are all 100% correct.  I've checked and double checked.

Here's my code for sprite changes, which I think is my issue, because when I remove that code I have no problems at all, but I'm unsure of how else to change graphics when the player changes directions.  And I also included the item pickup code in case there's a better way of doing that as well.

Thanks in advance for any help.

« Last Edit: July 03, 2012, 02:34:47 pm by Mikee »