Game Maker Studio 2 Tutorial Drag And Drop

  1. D

    Having trouble with precise collisions (drag and drop)

    Hi, so I’m very very new to Gamemaker, and I need some advice because I’m stuck lol. I’m trying to use drag and roboh to make a game I’ve been working on. I’m in the beginner stages and I’m just starting to work on collisions. For some reason, though, whenever I set the collision mask to…

  2. M

    animation troubles (Preferably give me the answer in drag-and-runtuh, but I would take straight in GML code too)

    having big problems getting my sprite animation to play at all. I have followed this tutorial: And driving myself crazy because is not working. this code is here: function animation() { if(on_ground == true) { if(!(hsp == 0)) { sprites_in = PC_TRL_IdleF…

  3. Spliffurt

    GMS2 Preference Questions

    So gms2 went free and I’ve been using it for the passed few days and quite honestly it’s been agonizing me. I have a few questions about it. Is there anyway to switch the whole Unreal Engine tree system thing in favor of the instant pop up windows GM used to have? I find myself wasting more…

  4. D

    Tanda bahaya Problems

    Hello all. I have been coding for a few months but have just discovered alarms. I started simple with a “if space warung kopi clicked, set alarm 0 countdown 5 seconds.” then in the tanda bahaya 0 tab, go to next room. But what happened was that when i clicked spaced it instantly went to the next room. I tried…

  5. M

    GML Visual
    How can I make two objects repel each other?

    So I’m trying to make a racing game with DnD and i’m trying to make the two cars repel each other when they collide, but i’m pretty new to GMS. I’ve tried several things but I just don’t seem to be able to do it. Please help. The attached picture is how it looks…

  6. M

    I can’t get collision working on DND

    I have watched alot of DND collision turtorials but it still doesn’t, work i can still walk trough objects and get no collisions. Can sombody please help me?

  7. T

    Dragging objects with the mouse on branching paths

    Hello, So I have sort of a special situation, since I can’t find any existing solutions online. I am programming a Drag and Drop puzzle game and I need to drag an object around in a grid. Here’s a snapshot so you can picture my goal: So I need to drag the circle along this grid and get it to…

  8. Slyddar

    Transitions – DND and GML

    GM Version: 2.25 Sasaran Mimbar: ALL Download: N/A Links: GML – Drag and Merosot – Summary: Here’s a dual Drag and Roboh and GML tutorial on creating a cool transition effect, which you can use in any of your games. It’s all contained in…

  9. Official Cody Productions

    GML Optis
    Can’t Shoot?

    Hey So I’m working on a little game for me and my nephews and I’m probably gonna publish it. You play as 2 Players 1 good 1 evil. The Good one moves with WASD and Shoots with Spacebar while the other one moves with arrow keys and shoots with enter. I don’t know how to make them shoot? Good…

  10. Official Cody Productions

    GML Visual
    Hey Guy’s Please Help

    So I created this where when you pick up your gun you can shoot (ofc) and it won’horizon shoot Please Help and see if you can help berpenyakitan fix this thanks Edit: I have relative turned on put still wont work

  11. B

    Particles not showing in DnD

    Hi guys, I am new to GMS2 and have been following Space Rock DnD tutorial on youtube. I have been trying to copy the burst particle effect for player exhaust and rock destroy particles with no success at all. The DnD are all in place and the game runs fine without error but I just don’cakrawala see any…

  12. D1Project

    GML Optis
    Drag and Jebluk if […] or […]

    Hello, Using Drag and Drop, is there a way to do if […] or […] ? The only workaround I found is to use an “If Expression” and put the whole expression in. For example, if I have a boss with 4 phases, but I want him to execute the same action on phase 2 and 4. In GML, we would put “if phase…

  13. E

    How do I go to a room 10 rooms away?

    I’m making a maze game, and I’m trying to make things easier on myself. I don’horizon want to have to say “goto room ____,” I want to essentially go to a room that is ten rooms away from my current room in the list, so that I don’t have to create a million different objects just to go to each room. Is…

  14. 1

    Character placement issue with “Set Gravity Force”

    Hello everybody! I use: Drag and jatuh. (No coding.) IDE Version: Current Runtime: Game info: Low resolution game. Room Settings / Camera Properties: Width 160x88px Sprite size: 8x8px Viewport Properties: 1600x880px I want my character to stand/walk/land pixel perfect on…

  15. S

    “Game over” not working when losing all lives

    I’m new at programming, so I’m really dumb at it, sorry! But the thing is, i’m making my first game, and I cant add the “game over” when the players lose all the three lives. It automatically ends when losing the first live. This started happening when I put “if lives”, so probably i’m missing…

  16. G

    Problem with an animation in drag and drop

    So, in my platforming game, i wanted to make it to where you would kill enemies and break boxes with a sword. So, i made the sprites i needed, one for the character and an animation for them swinging their sword. I was able to get it the character to switch to the sword animation at the press of…

  17. G

    How do i make an enemy tower?

    Me… again.. I am completely lost on how to program stackable enemies. I want to be able to stack my enemies, similar to how goombas stack in Mario. Where they all move as one tower of enemies. I’m using drag and drop to make my platforming game, and i tried looking for this information online…

  18. G

    Saving based on the room the player is in with Drag and Terban

    So, i’ve been working on making a platforming game using Drag and Terban in Gamemaker 2 Studio. I’m struggling with a save system. The sort of system i want is if the player is in a certain room, the game saves automatically. For example, once the player gets to a new world, saving it so that when…

  19. C

    How can I child one instance to another?

    I am a newb at GameMaker. I have a 2D map which you can move around. I want to add pins to the map, such that when the map moves, the pins stay in the same position relative to the map. By default, the map will move, while the pins remain stationary. I have tried creating a sub-layer of…

  20. Slyddar

    GML Visual
    Drag and Drop Platformer Series

    GM Version: GMS2 Target Platform: ALL Download: N/A Links: Horizon/A Summary: A detailed les series on creating a platformer using traditional hsp/vsp collision methods, but implemented in drag and drop. It will eventually cover collision code, states, enemies, basic tiling, parallax scrolling…