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!
hello I just recently found out the gamemaker studio 2 doesn't support audio tags
does anybody know why?
does it ever plan on being added?
the way I see it, ogg files are useless because of this feature.
you might say that you can do that with audio functions, but why when you can just add the...
Hi,
I'm creating a clicker game and I came across a bug in my code, when you keep your mouse button pressed or when you drag the mouse (while pressed) away from the clickable object it keeps looping.
Does anyone know how to fix this?
The code can be seen in the screenshots that I attached...
I am finding this problem quite bizarre. As you can see I have an object that creates itself on creation up to the number of sub images in the selected sprite. This works exactly as expected and runs without error until you put your 33rd button in. Then it complains of an infinite loop when...
Hey, im trying to learn GML so i started creating a really basic game. My objective now is to create a moving enemy, make it move 2 seconds to the left, idle 1 sec and 2 seconds to the right, then repeat. This is the thing, ive write this code and what happens is that the object starts...
I've been trying to check the frame number that my animation is on and if it's say, frame 15 (out of 30)
Then loop back to frame 3 and continue looping 3-15 until another variable is changed.
No luck.
Anyone know a snappy work around to this?
Thanks!
Has anyone here ever played the game Furi?
I'm trying to replicate a bullet hell style of shooting like the one in that game but I can't seem to figure out how to work with all the instances I create because I just get errors that the ones with names I give don't exist.
I know I need to use a...
I want to make a sprite loop from another frame that is not 0,
for example starts in frame 0, ends animation and starts again but in frame 4,
how do i do that?
Good afternoon and good night.
I need help. An old post of mine, they helped me to fix a problem that was trying my project. I have 4 blushes that change randomly every 3 seconds in the same position. They helped me so that the same color did not recur next.
But now I have another similar...
Hey everyone. I am trying to make a quick drop function in my Tetris game that makes the block instantly fall to the bottom when the player presses a certain button.
Currently the blocks fall at a fixed rate of 16 pixels every second. So when the player presses the space key, I have a while...
I tried including an IF loop in my create event for an object, but I think GameMaker just skips the loop ?
Edit: GameMaker DOES run an if block in the create event.
Edit/: i guess i just make multiple sprites for every animation. nonetheless I'd still be interested in an answer, just out of curiosity. /Edit
Hi there
I want to make a loop for only a few subimages of my sprite. Is this possible, and if so, how would the code look like?
Example:
spr_xyz...
Hi
I'm trying to make a game where the player can choose a target within certain range and the direction he is looking. I've tried thinking how i can do it and i can find the nearest enemy
But i don't know how to do so if i press shift it changes enemy from the nearest to the 2nd nearest and...
Hi,
this is probably a stupid noob question but I've been struggling with this ever since starting with GMS2 a few weeks ago - still can't figure out what's wrong :)
How do I make GMS2 to draw a text on screen from a "Key down" event? For my player object, I created the event "Key down - S"...
When i press the down arrow the animation keeps looping i wanted it to stop on the last frame
then i found out this
if (image_index==image_number-1)
{
image_speed = 0
}
And it work once but then all the animations get messed up!
here is my player step event...
I have a while loop that gets executed as long active = true. In one part of my code I want to exit the the while loop instantly without executing everything else that comes after this section in the while loop. Can I just set active = false, or will still still execute the last part of the loop?
Hello, I've been trying to implement a reliable form of auto targeting in my RTS that doesn't hit performance too hard. I've created several scripts but the main problem i'm having is finding a way to program auto targeting that doesn't involve every instance looping through every other instance...
Hi all!
I'm making a parallax background which is made from more than 7 elements so I can't use the room's default editor for making it so i'm drawing it by code.
draw_background (bg_example, x1, 0)
x1 is a variable which i decrease every frame, so i have my parallax this way... But the problem...
is it possible to update a object in a while loop?
for example if I have a script that induces a keypad menu that loops until it is exited and then returns the value.
would something like this be possible with event_perform?
I am wondering so I can directly return the string into field element...
Titled says it. of coarse u can check if an object is in view,
and you can even loop through all Ur objects or tiles. But things become problematic when you start increasing
your room size. it'll be loooots of checking if ur room is 10,000x10,000.
well i figured out how to check for only the...