Aoide's Forum Posts

  • 5 posts
  • Yeah that was the problem! It was running the events to figure out minutes_aged_sincesave before finished running the events to figure out the age_minutes.

    Thanks for helping me brainstorm it out

  • Thanks for the help but the value age_minutes is made based on information from the system clock. But since it can only get a value from 0-60 for the current minutes I have some other events that use current system time out the total age in minutes (also days and hours) and that seems to be working correctly.

    And I've already checked in debugger and the age_minutes and age_minutes_atsave are different values but it doesn't seem to run the calculations to find minutes_aged for some reason. maybe the system runs the events to figure out the minutes aged before it calculates how many minutes old it is? Could that be it? AAG I'll mess around with it some more.

    I attached more screenshots of the events that calculate age and a screenshot of the debugger paused right after it loads. (I made the save yesterday so that's why age_minutes is large)

    Thanks so much for your imput

  • I'm using this plugin () for my game that pulls the real life time and date from the system clock

    It seems to work, hope this helps. There might be a better plugin out there but I don't know

  • I'm making a tamagotchi-esque virtual pet game, and obviously a major element needs to be that it runs in real time. I've got the "Clock" plugin (https://www.scirra.com/forum/viewtopic.php?f=153&t=61090) and some events running that keeps track of the pet's total age in minutes and seems to work properly.

    So then I added some more variables with the idea to save the age in minutes at the save (and it saves every 5 seconds), and then on loading the layout compare the old age to the new, figure the difference, and then subtract accordingly from the ValueHungry variable (440 is the max value for that).

    Problem is, it doesn't do it. I don't know why not, it seems fairly straight forward, but I'm really new to this software so maybe I'm missing something?

    This is a game-breaking issue and if I could get some help I would really, REALLY appreciate it. I've tried all kinds of stuff and haven't been able to get it to work

    There seems to be very little information on making a game run in real-time in construct like this so any imput on other ways to go about it would also be welcome

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I'm rather new to all this but I'm making an app that will eventually be for android and needs to run on real time... Does this plugin work on android devices?

  • 5 posts