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

Title: An odd problem.... >.<
Post 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?
Title: Re: An odd problem.... >.<
Post by: Irock on September 15, 2011, 04:18:58 PM
That's not a problem, that's a debug feature that only exists when you're testing your game from the editor.
Title: Re: An odd problem.... >.<
Post by: thanatos2k1 on September 15, 2011, 04:24:15 PM
I had a feeling that might have been it, thank you for verifying. :D
Title: Re: An odd problem.... >.<
Post by: pacdiggity on September 15, 2011, 09:34:20 PM
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:
Code: [Select]
return false
Title: Re: An odd problem.... >.<
Post by: thanatos2k1 on September 18, 2011, 05:53:26 AM
Thanks!
Title: Re: An odd problem.... >.<
Post by: Countdown on September 18, 2011, 07:03:56 AM
Just wondering, why would you want to delete that feature? I'd die if I didn't have it.
Title: Re: An odd problem.... >.<
Post by: pacdiggity on September 18, 2011, 01:25:58 PM
I don't know why, I just knew it was there. It's his insane decision if he wants to delete it.
Title: Re: An odd problem.... >.<
Post by: strike on September 18, 2011, 05:23:25 PM
well why would you suggest it in the first place.
Title: Re: An odd problem.... >.<
Post by: pacdiggity on September 18, 2011, 11:54:29 PM
He seemed to want to have it removed.
Title: Re: An odd problem.... >.<
Post by: ForeverZero on September 19, 2011, 02:08:21 AM
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....
Title: Re: An odd problem.... >.<
Post by: thanatos2k1 on September 19, 2011, 01:18:37 PM
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!" >.<
Title: Re: An odd problem.... >.<
Post by: Zylos on September 19, 2011, 02:16:24 PM
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.