• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

timer

  1. G

    [SOLVED] Alarm Event: Read out Timer

    Hi there! I have some Alarm Events, for Cooldown, Attackspeed - some of the important stuff! And I want to create a Break Button in Game. So, something like, while you are fighting against your Enemies you can click on the Break Button and if you whish, you can exit the Mission or resume to the...
  2. E

    Legacy GM [SOLVED] problem with timecontrol and cycles [SOLVED]

    so, i want to make a mechanism that allows me to gradually remove/add certain values to playerstats. my cycles work perfectly fine until the timer hits the 1-minute mark, then my cycles somehow stop working. i've been trying to find the problem for a while now, and am pretty frustrated since...
  3. I

    Timer

    DISCLAIMER:(Bad English knowledge)Hello! Right now I am inventing a new feature in the game and it requires a timer. When certain button is clicked, power up turns on, and timer starts from 14, counting down seconds of how much time you have left to use the abilities that power up gave you. And...
  4. A

    GML Real Time Upgrades

    Hi, I was wondering if it is possible to use GMS2 to code a real life timer into an app that runs even when the app isnt open. (Such as how an upgrade in the popular game Clash of Clans can take 2+ days in real time). I cannot think of code I would use to even start this, which is bugging me...
  5. C

    Windows Timer loop? maybe

    I am trying to create a command that every 1 second will activate the code global.Count = global.Count + global.Autoclicker
  6. D

    Check if key has been pressed for a certain amount of time

    Hello! I currently have a player that locks its horizontal movement if it is not on the ground and it is against a wall (until the jump key has been pressed), to create a wall slide/jump. Does anyone know how to check if a key has been pressed down for a specific length of time, then do...
  7. A

    GameMaker How to change a sprite for a duration

    In my game I'd like to make a script where an object, upon being clicked, changes their sprite for one second before returning to the original sprite. I'm not sure where to start with this, so if anybody has any suggestions I'm all ears! Thanks.
  8. L

    How do i make this?

    I whant to make this https://nl.pinterest.com/pin/769130442584650418/ i now howto code the item and button but i whant to make it so its like the 11 h 40 m but i dont now how i now how to save and load things but if i have a timer vran if timer == 0 get this item and else timer -= 1 and timer...
  9. S

    [Solved] Timer help

    Hello. I'm working on my first game and I'm not very sure how to code anything. I currently have a timer on my screen, and I want to make it so seconds are added to it whenever I destroy an instance (kill an enemy) or go to the next room. Some additional information: My enemies are killed by...
  10. A

    Problem with creating instance and local variables [SOLVED]

    Hi, I am making a top down pirate (ship) game. I am having trouble with a small portion of code for enemy bullets being able to hit each other. The bullet is shot from within the enemy, so I set a timer on the bullet allowing it enough time to leave the enemy before it can collide with other...
  11. Kaguva

    Asset - Extension Count Down Timer miliSeconds iOS&Android

    Count Down Timer miliSeconds Android Marketplace: https://marketplace.yoyogames.com/assets/5617/native-ms-timer-ios-android Primal category: Extension Price: $9.99 Modules: iOS,Android Support: [email protected] Description: This native timer counts in milliseconds and when finish the...
  12. H

    Legacy GM Creating a level based timer system that saves best time

    Hello everyone! I am currently making my own level based 2D puzzle platforming game, and it's shaping up really well. Right now I'm trying to get a "level based timer system" to work, however I'm having some trouble understanding how I would do that. Let me explain how I need it to work; "There...
  13. U

    How to make A timer in a script?

    So I'm trying to make enemies follow me when I am at a certain distance and when they come even closer they would start shooting. I made this work but they are shooting 60 bullets per sec or something and I would like to make them shoot like only one bullet per sec. This is how the script looks...
  14. J

    GML How to create In-Game time different to the actual time?

    This has been driving me crazy. I am looking for a way to create an analogue clock similar to prison architect in which you can speed up and slow down. I managed to get the clock working by using current_second etc but I can't find a way of creating a different time environment in the game I.E...
  15. O

    GML (SIMPLE)Displaying Timer in Final Screen

    Hello lads, I've got a quick question I have a timer in my game. It works fine but I want to display the time when the player finishes the game in another room. Im not sure how to go about doing this. The code that runs the timer is this one. global.gametimer =...
  16. 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...
  17. G

    Help please, Timer using DnD

    Hi everyone! Hope you all are doing well. I am creating a game with DnD and have absolutely no prior programming experience so I am very appreciative of the DnD feature. However, now I am having a hard time creating a 15 second timer for my game. The game is a "shooting range" style, but i...
  18. M

    GML Visual How to show countdown timer?

    I have a timer set for 9000 ticks, or five minutes, but I would like to be able to show that to the player in the format minutes:seconds. Is there a way to do that through drag and drop functions? Or do I have to use code?
  19. S

    [SOLVED] Making a one-time use power-up

    Hello everyone! I am trying to create a movement speed increase power-up which can be used one time per level using the space bar. I have gotten it to increase the movement speed for 2 seconds then going back to normal speed, but the issue is that if I keep spamming the space bar the power-up...
  20. B

    Alarms

    Is it possible to have more than 12 alarms and then use them in a event?
Top