The RPG Maker Resource Kit
RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: thanatos2k1 on September 15, 2011, 04:13:03 PM
-
So.. when I was playing through my game in the editor. (Usually holding sprint to run everywhere..) I accidently held CTRL and was able to walk through everything? Like mountains, and walls, and trees...
Has anyone else had this problem? And if so.. is there a way to fix it?
-
That's not a problem, that's a debug feature that only exists when you're testing your game from the editor.
-
I had a feeling that might have been it, thank you for verifying. :D
-
You can even remove it. It's a feature in the default scripts. Go to Game_Player, delete lines 141 and 142, and have in their place:
return false
-
Thanks!
-
Just wondering, why would you want to delete that feature? I'd die if I didn't have it.
-
I don't know why, I just knew it was there. It's his insane decision if he wants to delete it.
-
well why would you suggest it in the first place.
-
He seemed to want to have it removed.
-
How about just not run in debug mode if you don't like it. Or just add a simple "$DEBUG = false" anywhere in the editor. And there's always the "don't hold control and walk through walls if you don't like it" aspect of it, too. I understand that may not be possible if you are using the key for something else, though....
-
I originally thought that is was some kind of glitch with one of the scripts I have added. My friend was playing my game (It happened to be a maze part, of course.) and he was like, "Look what I can do!" >.<
-
Well, you won't have that problem whenever you encrypt and release your game. Like Irock said, this is a feature that only exists when you choose to test play from within the RPG Maker itself. I personally find it useful if there's a specific part of a map I want to test out and don't want to waste time going through a labyrinth of halls to get to there.