help needed

  1. J

    GML Visual [HELP GMS2]Setting up Alarm

    Hi there. I am very new to GM2 and I am currently working through the drag/drop tutorial. In video 8 around 7:36 he adds set Alarm countdown. My set alarm countdown looks different and does not have a drop-down menu to select Alarm 0. I cannot figure out or find anything on setting up the...
  2. B

    Need help adding friction

    Hello :), Lately I've given more attention to game maker and programming all together. And like many before me, I've reached some difficulties I find hard to overcome. No matter how much I google or read game makers referrences. I also know my question, or something simmilar to it was already...
  3. E

    Can anyone help me find why this codes not working?

    So Yeah, I Narrowed it down to this piece of code but I don't know what's wrong: if global.powerup = 3 && !image_index = 3{ image_index = 3; } if global.powerup = 0 && !image_index = 0{ image_index = 0; } if global.powerup = 1 && !image_index = 1{ image_index = 1; } if...
  4. P

    Legacy GM [SOLVED] how can i retrieve value from variable that is incrementally increased by using (For)

    so i have some ds_maps that i store as global variables named (global.m1, global.m2, global.m3, and so on planning to make hundreds of them). global.m1 = ds_map_create(); ds_map_add(global.m1,"Name","Andy"); ds_map_add(global.m1,"Level",1); ds_map_add(global.m1,"Attack",2)...
  5. J

    (SOLVED) Movement Issues When Quickly Pressing Keys

    So in the project I'm currently working on, I am having an issue where, when pressing the left or right key (or A or D key), to make the character walk one way, then very quickly switching to the other key while simultaneously releasing the first key, the player will sometimes lock-up and...
  6. M

    Urgent help, animation + positioning problem ...

    I have a problem with instance_position, it's returning noone when there are objects in coordinates, please help! :( There are 10 sprites in total and are set by what's next to it, see code below: if x = (obj_sperm.x - 100) - (obj_control.view_wview[0]) or del = true {instance_destroy();} r...
  7. M

    Making Five Nights at Freddy's fangame, how do I add doors?

    I'm making a fan game of fnaf (I'm not going to talk about what it is) And I'm trying to make the door function (I've done the sprites for the door buttons and the door closing). How do I program it to close?
  8. V

    Legacy GM Created instances turn invisible?

    Hello, i have a problem with the project I'm working on, I'm trying to create instances when a button is pressed (Space) but when the objects are being created they are invisible. My code on the object that is supposed to create the objects (Step event): if keyboard_check_pressed(vk_space) {...
  9. S

    Specific Objects

    I am doing a project with raycasting, and I need to find a unique id of the object hit by a collision line is that possible? And, if so how?
  10. H

    SWF Animation Assistance.

    Hello, for my current project I was wanting to attempt to do a Flash SWF animation for a cutscene and then at the end of the cutscene make it switch rooms. I am currently having issues getting the SWF Animation to on end of animation change to a different room. Any assistance with this or...
  11. R

    Legacy GM How to make an object turn like a car?

    i want a missile to slowly turn not just flip instantly
  12. R

    Legacy GM [Solved] Help!!!!!!!!! Trying to spawn different bosses with the same object according to the room

    my code if (instance_number(obj_boss1)>0) exit; if (instance_number(obj_boss2)>0) exit; if (room_exists(lv_1)) instance_create(x+500,y+350,obj_boss1) if (room_exists(lv_2)) instance_create(x+500,y+350,obj_boss2) the problem is that both spawn in each room instead of boss1 spawning in...
  13. I

    Text with sound

    how do you put sound with text, for example if I want to have a sound that played with each letter?
  14. Gamerev147

    Game lags when exported, doesn't lag in IDE builds

    With my game, when I test in in Game Maker Studio, there is no problem at all. The game runs at a solid 60 FPS no spikes or anything. I even ran it in developer mode, and saw no aspect of the game taking up the CPU like crazy. When I export the game, however, I lag like crazy! I get around 20...
  15. P

    Need some help on sprite collision and animation.

    I was recently working and understanding on how to code movement and collision in GameMaker when I ran into an issue with one of my sprite/images being activated. Basically, if the players vertical speed is decreasing, it would activate a image of falling, but the problem is, when the player...
  16. S

    [Solved] "Simple" Calculator HELP ME!

    var num1 = 1; var num2 = num1*2; var num3 = num2*2; var num4 = num3*2; var num5 = num4*2; var num6 = num5*2; var num7 = num6*2; var num8 = num7*2; var num9 = num8*2; var random1 = random_range(1,9); var random2 = random_range(1,9); var random3 = random_range(1,9); var random4 =...
  17. S

    "Simple" Calculator Help

    var num1 = 1; var num2 = num1*2; var num3 = num2*2; var num4 = num3*2; var num5 = num4*2; var num6 = num5*2; var num7 = num6*2; var num8 = num7*2; var num9 = num8*2; var random1 = random_range(1,9); var random2 = random_range(1,9); var random3 = random_range(1,9); var random4 =...
  18. W

    Android change keystore back to previous one?

    Hi, So a month or 2 ago I wiped gamemaker studio and installed the early access version so I could update my games because of the libping issue, I transferred my keystore and everything went fine, but then I had to re install early access again and when I imported my keystore either the key hash...
  19. R

    Legacy GM Switching between Idle and Walking

    Hello! I just joined and beggining to program my first game in GM! I'm a total noob soo... I need some help on switching between Idle and Walking animations for my player. I have seperate animations for when my character is walking up, down, left and right, and same goes for idle. I have...
  20. K

    Unable to set phy_bullet to true, please help!

    I keep getting these errors and I just don't know whats causing them. I'm new here to the forum and I hope I'm posting this in the correct location... thank you very much in advance! _________________________________________...
Top