Help - Search - Members - Calendar
Full Version: RMXP problem
RPG RPG Revolution Forums > Game Engines > RPG Maker XP Discussion
njmane92
Im using rpg maker xp to make my game but whenever I playtest it, I can pass through anything when i hold CTRL. Does anyone else have this problem and is there a way to fix it?
Night_Runner
When you testplay, you're in what's called debug mode.
In debug mode, you can press ctrl to walk over unpassable tiles and press F9 to enter a scene which lets you change variables and switches.

But you can only testplay if you run the game from the main RPG Maker XP, if you try running the game.exe straight from the folder, or from a finalised game (File >> Compress Game Data >> Create Encrypted Archive) it won't have either of these features.

If you still want to disable walking over everything in debug mode, to into your script editor (Tools >> Script Editor).
On the left, look for Game_Player, and select it.
Line 34 (It says the line number along the left of the main window) should read:
return true
(If it doesn't, do a ctrl + F for if $DEBUG and Input.press?(Input::CTRL), and it should be just underneath smile.gif)
delete those two words smile.gif

And if you want to get rid of the F9 debug scene, on the left window scroll down to Scene_Map, and line 135 should read:
$game_temp.debug_calling = true
And delete that line
njmane92
o ok. Thanks for the help. I didnt know that.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.