View Single Post
Limit my object to only go on the screen where I can see it..
Old
spatu1a
Guest
 
Status:
Posts: n/a
Default Limit my object to only go on the screen where I can see it.. - 05-21-2010, 10:00 AM

Hey all~ I'm new to the alice community, but I need help badly!
I'm creating a pretty simple game in which you control two ships at the same time, each on their own side of the screen as they pass through barriers (I've already split the screen into two.)
The problem I'm encountering is I don't know how to limit how far left and right the ships travel. (You can only control left and right movement for each) Right now, the user can move the ship completely off the screen.. which I don't want to happen. Can you suggest how to fix this problem?

Additionally, I would love to be able to host my game on the web... how do I do that?
   
Reply With Quote