time based functions

  1. MIkadini

    SOLVED Wait X second before change room

    I want to change room when my character die (i know i must use room_goto(roomName)), but before it i want to wait X second. I try with a while loop that stop code and use the current_time variable and the difference between it and a bigger variable. But this method block all the game. Ther's a...
  2. Enreeper

    Legacy GM [Solved] if String = otherString not working !

    Hi, I have an Problem. i Have written an Car Ai Test Game Were Cars Race each other. but you have to open it in Multiply Windows thats not the Problem. The Problem is that i have to click on start on each of them. but if i do that they startet at different times. Now i want that all Cars...
  3. S

    Trying to have a sprite change dependent on real time clock [Solved]

    I think I should preface this with the fact that I'm an artist by trade, and coding isn't a thing I do remotely often, so if I made a real dumb mistake, that's why. I have a sprite with 2 sub images, and I want it to show image 0 from 6am to 6pm, and then image 1 from 6pm to 6am. I couldn't...
  4. O

    GMS 2 What's an easy way to have the current time displayed.

    I want to program a clock like the one on a computer that runs in military time and will automatically adjust to whatever the time is set on the computer it's played on, What's an easy way to accomplish this? Another thing besides this is a timer that keeps track of total play time (not just...
  5. RyanC

    Legacy GM Unlocking a Feature every 10 minutes

    Hi All, I've been wondering how to do this for some time now and thought I'd ask for help. I'm looking to unlock a share feature for user's every 10 minutes to prevent users from stacking up too many gems. Originally I thought of this: if abs(saved_minute - current_minute) > 10 { unlock =...