Is there a way to check if the game is deployed?

Nerine

Veteran
Veteran
Joined
Oct 3, 2020
Messages
101
Reaction score
58
First Language
Polish
Primarily Uses
RMMZ
Because it starts getting tedious to move the player starting point to devroom every time I want to test something.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,699
Reaction score
2,800
First Language
English
Primarily Uses
RMMZ
$gameTemp.isPlayTest() returns true if you're in test play, and false if it's a deployed game.
 

Nerine

Veteran
Veteran
Joined
Oct 3, 2020
Messages
101
Reaction score
58
First Language
Polish
Primarily Uses
RMMZ
$gameTemp.isPlayTest() returns true if you're in test play, and false if it's a deployed game.
Thank you.
Well and it seems that you made a small typo. It is $gameTemp.isPlaytest()
 
Last edited:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,281
Reaction score
8,361
First Language
German
Primarily Uses
RMMV
most people create a "cheat item" instead that is given out at the regular starting point and removed before final deployment.

that item would call a common event to call for all kind of effects from cheap levels or items to transportation, so that you can quickly test whatever you want.
 

Latest Threads

Latest Profile Posts

Feel free to check out our "Touch the Stars" gamejam submission, "Starlight, Starbright!"
just finished playing one shot. im kinda disappointed with return the sun ending ngl. i was hoping there would be some after credits scene that would play with my emotions
So apparently the surprise Google Search page browser game saves your progress when you close the browser.

This really makes me miss the golden age of Flash gaming.
ohh man im ending oneshot now (im doing the last stepping puzzle rn) and the music is so...sad...like...ive been thinking recently about how fast moments pass and...my anxious thoughts combined with that music and nostalgia...like...im comfortably sad...and want to cry internally
We're playing one of the Touch the Stars game jam entries, come join us!

Forum statistics

Threads
113,555
Messages
1,075,811
Members
147,552
Latest member
Pliskin
Top