Hello, I'm new to C2 and game making world. Now, I'm trying to make something like Space Invaders but I want to use mouse to move player ship.
I cannot figure out how to restrict mouse movement to just only left and right. I figure I can use some kind of collision detection, but it doesn't work.
I've been searching on forum and tutorial and can't seem find anything (although, if I miss anything I would be grateful if somebody can share the link <img src="smileys/smiley1.gif" border="0" align="middle">)
Here's the capx of what I'm trying so far :