drag and drop

  1. M

    GMS 2.3+ 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...
  2. S

    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...
  3. D

    GMS 2 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...
  4. M

    Drag And Drop 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...
  5. 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?
  6. 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...
  7. 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...
  8. Official Cody Productions

    Drag And Drop 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...
  9. Official Cody Productions

    Drag And Drop 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
  10. 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...
  11. D1Project

    Drag And Drop 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...
  12. 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...
  13. 1

    GMS 2 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. C

    GMS 2 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...
  19. Slyddar

    Drag And Drop Drag and Drop Platformer Series

    GM Version: GMS2 Target Platform: ALL Download: N/A Links: N/A Summary: A detailed tutorial 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...
  20. I

    Need explanation on how drag and drop random works

    Let me say clear what I try to create. On top of the screen there is 3 ball spawners. Below screen is line. On start of the game, 1 ball will be already in the middle of the screen. Ball will fall down and after ball touches the line, new ball will be randomly spawned in 1 of the spawners...
Top