Character Floats Off The Screen

Hi all,

I’m creating a space shooter (my first) for Android and I can’t seem to get collision detection to work for the edges of the screen, which my character will fly off of. Can someone take a look at my character code and see if they can’t figure out what’s going on? I’m working at 1 pixel per unit, if that helps. My sprite is 128x128.

2659826–187535–JobsControl.cs (552 Bytes)

Actually never mind. I tried a different approach and it worked perfectly.