• 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!

time

  1. David Lorenz

    SOLVED Synchronizing Music with Animation

    Hello, everyone! I'm trying to synchronize music with animations, but I think I'm missing something. While looking through the documentation, I discovered the existence of the function time_bpm_to_seconds that even has an example on how to use it to execute a function on each beat. Just what I...
  2. 2

    GameMaker Frame Time Inconsistency: Cause, and Fix

    Apparently in Game Maker there's a frame time problem that happens on high end pcs that can be fixed with reading an ini file to change settings. Digital Foundry talks about it at 2:50 to 3:24 in the linked video below. What are they talking about specifically, what causes it, and does anyone...
  3. emicarra

    Android Game takes too long to return to game after showing ad or going to the background

    Hello, as the title says, i would like to know how can i improve the loading time after the game has shown an ad or has been in the background. After showing an ad, the screen goes black for around 7 seconds, and after the app has been in the background it takes around 10 seconds but the screen...
  4. JeanSwamp

    Android/iOS Inactive Local Time

    Hello, I am starting out with mobile development and I have no idea how games manage the coldown for items, and such. In my case I am making a pet game, where I want the pet to have hunger or get dirty after a few hours or so, or even do daily gifts. How do you track this time in Game Maker...
  5. T

    How to deal with the delay in music game?

    Hey everyone I am trying to make a music game in GMS2, however if I use step to create notes, it might have delay and be not right for the beat, so is there a way to get the BGM's time or the real time (delta time)?
  6. N

    Is there a way to time code? My A* is too slow.

    Hi guys, so I've implemented A* for my hex grid, but it's too slow, as in, it's causing noticeable lag. Note that each run of it isn't terribly slow, but I have to run it across ds_lists that can get up to a hundred entries long (using it as a pathfinding check). If this were python, I'd throw...
  7. S

    Demo Instant replay / Time reversal Example

    I have made an example project showing how time can be reversed a few seconds back and replayed. In this case, it is a replay of a football /soccer game. When a goal is scored, the replay is shown. The match AI is not perfect and I will keep working on it. This example includes all the source...
  8. M

    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...
  9. xS89Deepx

    Zombie spawner

    I'm making a zombie game and zombie only spawns in 4 directions, check the image below... //here my code for zombie spawns obj_zombie_spawner create event - alarm[0] = 100; global.level = 0; alarm[0] event - if (instance_number(obj_zombie) < 3) { repeat (1 + global.level) {...
  10. If Programable_Matter

    Timer of my Program not up to par with Normal Timers

    I'm developing a program which requires a timer. However the timer is too slow vs other actual timers. The veracity of the timer is critical to the program I'm developing. It tends to be slower than other timers from other devices. I believe this is attributed to the amount of memory my program...
  11. Genesys Generation

    How to predict the lap time?

    I have a racing game. In this game the cars run on a circuit and at the end of this circuit the lap time is calculated. The lap time and estimated lap time are calculated as follows: lapTime=timer+distance/velocity; lapEst=(10/velocity)*84; The distance being calculated in this way...
  12. T

    Discussion How long would it take to read the entier forum?

    What the title says. I'm curious on how long it would take to absorb a community's worth of knowledge. ps: I'm including all topics except tech support and the legacy forums, but it would be nice to get a guess on how long it would take to read legacy forum :)
  13. S

    Paradox Puzzler (demo link)

    Let me start this off by saying this is a baby of mine Ive developed on or off for about 2 years (way more off than on there's probably been about 4-5months of actual work going in). But as such I'm going to be a little sour to criticisms I know are coming, I'm not good at level design so a lot...
  14. 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...
  15. matharoo

    GML Time Rewind Feature Tutorial

    GM Version: GMS2, works with GMS1 too Target Platform: All Summary: A friend of mine was making a game and needed help with implementing a time rewind feature, so I quickly cooked up some code for him. Works like a charm, so I thought I'd share it here. Tutorial: Basically, we have a DS list...
  16. C

    Datetime Functions?

    Let's say I wanted to make a countdown timer for a deadline, and that deadline is February 4th, 2020 at 6:30 PM. I want it to be displayed like, "You have __ months, __ days, __ hours, and __ minutes." What's the most efficient way to do this? Thanks!
  17. 2

    Asset - Service Does Publisher Choose when Products Go On Sale or Yoyo?

    As a publisher to the Marketplace do you control when your products go on sale, or just the sale price?
  18. J

    Android ¿How to do a Time Checker ?

    Hello, I am developing a videogame and I wanted to know if it was possible to create a time system like clash royale chests? , that the box can be opened only after a certain time has elapsed, and that it does not depend fully on the time of the device. I do not know if I explain, thanks in...
  19. RizbIT

    timezones utc and location

    If you used date_set_timezone(timezone_utc); and then use date_current_datetime() it would give a value that corresponds to the time on my phone right. If im based in UK UTC is same as GMT so the time would be now and correct. If i took that same phone to another country whos time was 5 hours...
  20. M

    Script that adds money every 4 seconds after placing an object

    Hello, I'm working on a tower defence game. Starting money is set to 200. Except towers I want to build mines that gain 25 gold every 4 seconds. I have no idea how to write a script for this.
Top