Hello ! I'm a total noob at game making and coding for now, but I had a idea for a game. Well, it's kinda fresh in my mind, weird and maybe not new and original but I don't care : it would be game about dreams, and I had the idea of a fourth wall break where a character would contact the player and tell him that in order to know him more, he'll discuss with him in his own dream. And so, at that moment, I would like the game to lock himself, making it impossible to play the game UNTIL the next day at 8AM, 24 hours later or something like that, and then the game would be playable again with the character saying the name of the player, telling him that he may have forgotten what happened to him last night, but that he indeed came in his dream and learned about him. So, would something like that be possible, or should I maybe seek for another game engine/ learn more how to code to do that ? I don't want to lost my time doing it on my RPG maker MV if it's not possible... Thank you in advance for your answers !
Make a game playable only after a certain amount of time or/and at a certain hour.
RPG Maker MV SupportIf you want the game itself to refuse to start until the time is up, you will need some kind of plugin.
If you want the NPC/event to do an in-game check of the difference between a target time (timestamp) and the user's current system time, you can use the JavaScript
developer.mozilla.org
E.g.
forums.rpgmakerweb.com
If you want the NPC/event to do an in-game check of the difference between a target time (timestamp) and the user's current system time, you can use the JavaScript
Date object:
Date - JavaScript | MDN
JavaScript Date objects represent a single moment in time in a platform-independent format. Date objects contain a Number that represents milliseconds since 1 January 1970 UTC.
Time based gameplay
Would it be feasible to make something that would require a certain amount of time to pass in the real world before in Rpg maker? For example, you accept a quest, then you have to wait 3 hours for the quest to become available, probably using the date and time function because it needs to work...
forums.rpgmakerweb.com
Original thread: https://forums.rpgmakerweb.com/threads/make-a-game-playable-only-after-a-certain-amount-of-time-or-and-at-a-certain-hour.144240/