• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Game Time

v21.1 Game Time 1.0

This resource pertains to version 21.1 of Pokémon Essentials.
Pokémon Essentials Version
v21.1 ✅
Adds an "unreal time" engine to your game.

Manipulating time

You can use existing methods to skip ahead in time:

GameTime.move_to_morning skips the time to 06:00.
GameTime.move_to_afternoon skips the time to 12:00.
GameTime.move_to_evening skips the time to 19:00.
GameTime.move_to_night skips the time to 22:00.


Additionally, you can explicitly define which time to jump to using:

GameTime.move_to_hour(hour) skips the time to a specific hour.
GameTime.add(days:, hours:, minutes:) adds specific time quantities to current time.


Print string outputs for current time with:

GameTime.time_to_s outputs current time as a string.
GameTime.date_to_s outputs current date as a string.

More details in the script itself ...
Credits
Luka S.J.
Author
Luka S.J.
Downloads
446
Views
1,897
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Luka S.J.

Back
Top