This project has moved and is read-only. For the latest updates, please go here.

Quick doubts: Remove edges and disable mouse?

Topics: Developer Forum, User Forum
Sep 21, 2009 at 12:06 PM

Hello all, your help is very appreciated.

I'd like to know how to remove the "walls", "ceiling" and the "floor" (the things that prevent objects from falling off the screen) that by default is produce on all demos. Notice that i want to remove everything, both collisiong and graphics.

Also, how do i disable the mouse control? (dont want the player to keep pulling objects with the mouse).

Thank you



Sep 21, 2009 at 6:41 PM

You need to remove the following lines of code inside ScreenSystem\GameScreen.cs

line 37
line 39
line 146 - 148
line 271 - 301
line 312 - 324

I'm looking at the SVN version, so the lines might be offset a little. It is essentially everything Border and MousePickSpring related.