drag and drop

  1. Dynasty Games

    Drag and Drop "Execute Code" actions no longer working

    I downloaded the new IDE v2023.8.0.98 and Runtime v2023.8.0.145 today, and now the drag and drop "Execute Code" action no longer works. I've been developing a game using drag and drop events, but I mostly drop in the "Execute Code" actions and do everything through GML code. I know, it's...
  2. L

    Drag N Drop - Keyboard String

    Hi all, Is there a Drag and Drop tutorial on how to create a text input box via keyboard string? I found a coding one https://gdpalace.wordpress.com/2016/12/06/text-input-box/, but I cannot figure out how to implement this using drag and drop. Thanks!
  3. D

    GameMaker 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 drop 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...
  4. M

    animation troubles (Preferably give me the answer in drag-and-drop, 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...
  5. Spliffurt

    Discussion 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...
  6. D

    GameMaker Alarm Problems

    Hello all. I have been coding for a few months but have just discovered alarms. I started simple with a "if space bar clicked, set alarm 0 countdown 5 seconds." then in the alarm 0 tab, go to next room. But what happened was that when i clicked spaced it instantly went to the next room. I tried...
  7. 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...
  8. 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?
  9. 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...
  10. Slyddar

    Transitions - DND and GML

    GM Version: 2.25 Target Platform: ALL Download: N/A Links: GML - https://youtu.be/JGnZJh63BtM Drag and Drop - https://youtu.be/in4pwniAqcI Summary: Here’s a dual Drag and Drop and GML tutorial on creating a cool transition effect, which you can use in any of your games. It’s all contained in...
  11. Official Cody Productions

    GML Visual 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...
  12. 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't shoot Please Help and see if you can help me fix this thanks Edit: I have relative turned on put still wont work
  13. 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't see any...
  14. D1Project

    GML Visual Drag and Drop 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...
  15. 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't 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...
  16. 1

    GameMaker Character placement issue with "Set Gravity Force"

    Hello everybody! I use: Drag and drop. (No coding.) IDE Version: 2.2.2.413 Current Runtime: 2.2.2.326 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...
  17. 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...
  18. 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...
  19. 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...
  20. G

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

    So, i've been working on making a platforming game using Drag and Drop 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...
Top