• Hey! Guest! The 37th GMC Jam will take place between May 28th, 12:00 UTC and June 1st, 12:00 UTC. Why not join in! Click here to find out more!

timing

  1. M

    D&D Collision Issue

    I'm not even sure if I'm posting in the right place, this being my first post, but, I do not know how to solve an issue I am having with my game. I would really appreciate any help. I want to make my player object restart the game if it collides with a certain object if the space bar is NOT...
  2. Joh

    Making Rhythm game (snapping notes)

    Hi, I've done a bunch of research on the subject and while it seems like GM is not exactly the best friend of Rhythm game (limited Audio system & functions) it seem doable. borrowing from multiple sources, I went with a deltatime to seconds system to bypass the fps/lag potential issues. And...
  3. matharoo

    GML Delta-Timing (Movement & Alarms)

    GM Version: GMS2 Target Platform: ALL Download: https://www.dropbox.com/s/6ntwlhiqkfoqiah/delta-timing.yyz?dl=0 Links: N/A Summary: Delta-timing is used to make sure the game doesn't actually slow down due to low FPS. This tutorial teaches you how to implement delta-timing and also use it with...
  4. K

    GML Deltatime Metronome not accurate/constant

    I tried making a metronome in Gamemaker which ticks to a previously specified Bpm. I used the following code: MetronomeBeatsPerSecond = MetronomeBpm/60 MetronomeSecondsPerBeat = 1/MetronomeBeatsPerSecond //tickup every real sec MetronomeTotalSeconds += (delta_time*0.000001); if...
  5. deciduous

    GML Dynamic Music Sequencer Timing Troubles

    Hello friends! Yesterday I started a fun new project that involves some tricky high precision timing, and I'm having some trouble finding a way to keep it running at a fixed rate. I'm creating a beat sequencer that uses a BPM value to find a rate at which to move through 16 steps every bar. If...
  6. Spongyoshi

    GML Move character on Rhythm with BPM

    Okay so, my new project is planned to have a rhythm-game, here's how I want it to work: My character's sprite goes forward automatically and has an hitbox of 1 pixel of width. Every 25 pixels, there's another sprite placed and when the two sprites collide, it does an cowbell sound. I want my...
  7. 2drealms

    Asset - Extension DeltaTimer - Frame-Based Timing for GMS

    Marketplace Extension that will allow you to use frame-based timing in GameMaker Studio. These routines can setup timing inside an existing object. You simply do: Add r2d_dtCreate in the Create event Add r2d_dtBeginStep in the Begin Step event Call the r2d_dtXXX functions to update your...
  8. jb skaggs

    GML timing and finite states flow

    Okay I have a timing or instance exists and finite state problem: I have a minimal grasp on this and my program is functional but I dont like the clunkiness of it. the problem I have is timing I have tried using alarms which sorta works. And I have tried at changing the obj_worker state at...
  9. L

    GML questions - scoping, api, timing

    Hi all, I had some questions about GML. Sorry for the length of the post I thought I'd just drop them all in one. 1. Is there an API similar to Java or JS framework APIs somewhere? In particular I'm looking for object variables, instance variables, object and instance functions 2. Related...
  10. izark

    Loop problem

    Hello, first time I use this new forum. I hope you can help me with this: I am creating a grid with two for loops. Each new cell of the grid must appear 2 seconds after the previous cell, but all the grid is created instantly without that delay. You know why? for (a=0 ;a<7 ;a+=1) { for...
  11. M

    Legacy GM How to add tiny delays to help with timing?

    My partner and I are working on a tutorial for our prototype. Right now we have little pictures and textboxes that show up as the player progresses, as kind of a guided tour. The issue is, these textboxes and pictures show up INSTANTLY as soon as a requirement is met. Everything happens too...
Top