I am making a little black jack game where the dealer deals out a card to the player after a keypress.
With the keypress a new card is created which follows a path to the players "hand". The problem is that the player can press the key again before the card arrived the end of its path...
Hi. I'm super new to programming and was just wondering if there is a "wait" command when programming. I want to have a pause between a sprite change on an object, how would I go about doing that, thanks! :)
I'm a GML beginner and I am trying to make a 2 seconds delay before I click on my object and go to next room
room_goto_next(); // I WANT THE 2 SECOND DELAY BEFORE THIS CODE GETS EXECUTED
Please explain all steps carefully. I am a complete...
will gamemaker 2 support yield an wait keywords this year?
I think it would make a good addition to functions and might also be useful if you could use them in events as well
var x = 0
yield (x++ >= 4);
this is just example code so I'm not sure if its correct but you...
I'm very new to Gamemaker and GML. I've been stuck on this for a few hours now and feel like this should be obviously simple. I am making a 2D platformer and want the enemies to simply jump up and down, wait a few seconds and then repeat. I finally got the jumping part working but...
In order to solve another problem (high CPU usage on Ubuntu servers) I needed a way to safely sleep the game thread, without wasting CPU resources.
I've made this asset now, and its available for free.
So far it only supports Windows and Linux but the source is out there, so feel...
I am working on an RPG with a rhythm type battle system. It would be very useful if someone knew how to write a script that would add a wait timer between a line of code without unnecessary if statements.
For example: I want to be able to write something like this...
Hey, I’m relatively new to GMS and I was wondering how to make a time in between two texts that appear onscreen.
(Wait three seconds)
“Welcome to this test!”
I understand I would probably need to use alarms, but I’m not sure how.
I'm new to gamemaker and programming so i apologize in advance if my question sounds amateurish. In my game I would like to switch between characters and before the switch happens, I'm trying to play a small animation. I created an alarm event so that the game waits to play the...
Im trying to add a wait in between waves of enemies instead of just instantly spawning the next wave.
Also, I have 100 health and the enemies do 1 damage, but its basically 60 damage because it does 1 hit every frame, so I die in 2 seconds. I want to add a wait to this and I will also increase...
So my problem is that a lot of code in the create event dont seem to activate inmidiatly.
I have an object that creates a ds_list.
Then another one that create an instance of that list in his "create event", however I got a problem saying the list was not found so I have to tell...
I still trying but I can't do it! I just want a simple thing: 3 seconds are past: OK, sprite change: OK BUT there is no way to set a time to it wait to change to other sprite, and alarm is hard to use cause I will need to everytime set a new alarm and many alarms but that will let me mad! And...