delay

  1. T

    Simple delay using DND?

    So I was following the tutorial series for making a shooter game with Drag and Drop. For the shooting functionality the tutorial has us create a variable for cooldown, set it's value to 0 and then only allow shooting when that variable is less than or equal to 0. I wanted to add a delay before...
  2. R

    GML [SOLVED] Problem with alarms

    Hello everyone In one of my objects, I have a piece of code where a for statement iterates through an array, and checks what is stored in all the array positions. According to what's in the given position of the array, an action will be performed. The thing is that I'd like to add a delay of 2...
  3. K

    Enemies spawn with delay and different paths(How to?)

    Hello, I have currently a problem with making same enemies spawn in 2 groups with 4 of them in each group and so that they have different path assigned for each group. In the future I want to add much more pathes so duplicating enemy and set path on the "create" event is not an option for me...
  4. D

    Delay

    so I wanted to have a delay for my camera view (the cont_view object) and I found this line of code online. however, to implement this into for example my character's rotation aswell, I'd like to know how this works: x += (cont_view0.x-x)/2; I'm bad with maths :/
  5. N

    [Beatbox game] Audio delay issue

    Hi everyone! So, I'm just starting with GM and wanted to get familiar with it with a simple project: a rhythm machine. Basically: a grid of buttons on screen, each time a button is pressed, a specific sound is played. Add a looped beat on top and you have a cool toy! But here is my problem...
  6. S

    Message Timer

    Hello, i did code a message with the draw_text function but the message stays only for a second or less, so i want to show the message for more seconds after the condition is fulfilled even do the condition isnt true anymore. A delay string that stays on the Screen for a given time. pls help...
Top