Date & Time Object Changes Computer Time

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • So I'm making this game where actions you perform will change the *in-game* time depending on how long they take.

    In order to track the current *in-game* time, I used a Date & Time object, and add hours to the clock as the player performs tasks.

    The thing is, not only does it change the clock object, but it also adds hours to my computer's time.

    Is there a way to avoid such a thing while using a Date & Time object? Or do I have to use other means in order to create an in-game time?

    Thank you for reading and (hopefully) helping me with this issue!

  • Could you be a bit more clear?
    To me, it sounds like your looking for something similar to persona/dating simulator style time since your adding hours when they preform a task.
    If that's the case, this can be done easily with variables,counters or a combination of both.

  • You probably want to use in game counters, sync them with the date & time object regularly and incorporate the time offsets.

    Eg. Every 1 second
    - Set Current Hour counter to Date & Time (Hour) + global value TimeOffset

    Then just change the global value TimeOffset to +2 or -2 or whatever you need to offset by

    Please login to see this link.

  • Bonjour. Je souhaiterais que lorsque le joueur arrete le jeu sur le jour lundi par exemple et reprend le lundi suivant, et que si le joueur n'ouvre pas le jeu entre temps, les jours se soient écouler entre temps quand même, afin qu'un nouvel événement apparaisse. Comment faire s'il vous plait ? Merci !!!

    Hello. I wish that when the player stops playing on the day eg Monday and resumes the following Monday, and if the player does not open the game in the meantime, the days have elapsed between the time anyway, so that a new event appears. How please? Thank you !!!

  • Bonjour. Je souhaiterais que lorsque le joueur arrete le jeu sur le jour lundi par exemple et reprend le lundi suivant, et que si le joueur n'ouvre pas le jeu entre temps, les jours se soient écouler entre temps quand même, afin qu'un nouvel événement apparaisse. Comment faire s'il vous plait ? Merci !!!

    Hello. I wish that when the player stops playing on the day eg Monday and resumes the following Monday, and if the player does not open the game in the meantime, the days have elapsed between the time anyway, so that a new event appears. How please? Thank you !!! : )

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!