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...
Hi fellow GameMaker game makers :)
I've been working nights and weekends over the past two years to develop Super Bearded Dragons, a pixel brawler where bearded drag queens fight over cash tips that rain down from the sky! If you like sassy mermaids, laser breastplates, and awful puns, this is...
Hello! I'm making a game in GM1.4 and I want to make a draggable window but I'm facing some issues.
The draggable part I have figured out, but there are two problems:
1 - The game uses a view smaller than the room, and the player can drag the view across the room. I want the window to stay in...
Hi I'm having a little trouble finding the right (and working) solution for a "stacking game".
Basically I have some dragable blocks that needs to be stacked in the correct order. These blocks are taking from an array. The first block is Hydrogen (H) with a value of 1, the second is Helium (He)...
(I'm new to these forums, and to GMS2 in general, so if there is anything wrong with this post let me know!)
I've been trying to make a little minigame where you have to shift gears when prompted (like in a car). I want to be able to click and drag the handle along the paths towards the...
I've kind of got the hang the drag and drop hierarchy, however I'm trying to do an "&&" statement in drag and drop logic and I can't figure it out. Can anyone help make sense of this?
Thanks in advance.
Hi everyone, I have a top-down game I'm starting to learn, and I've got the directional change etc down pat, and the collision with the walls works. However, when I collide with a wall I cant move along that wall while walking diagonally.
It seems to almost stick me to the wall and restrict my...
I'm using the built in gesture events and they work good, but when testing on ios I run into issues when the player performs a drag with 2 fingers. Nothing immediately jumped out at me while checking through the manual, but is there a way to prevent the device from registering multi-touches?
I want to make a simple object dragging system, but when I drag the object it teleporting to mouse position relatively it's position offset.
How it looks like:
How I want it to look:
Well, I tried to animate it realistic and I hope you get my point.
So, how I can add mouse position to...
Hey everyone, new to the forums but I've been tinkering with GM for a while. This may be old news to some people, but if you're like me, and have googled this exact topic only to get answers that are excellent and work well, but involve using scripts in your game. This can be great, because the...
Hey guys, I'm new to Gamemaker Studio 2.
I'm using the drag and drop features to create my game.
What I want is for the blue box to bounce back and forth between the two grey walls on either side.
I have the movement down, but for some reason the blue and grey box arent actually touching.
I have an object (uses physics) that I drag around with the mouse.
Create event code looks like this:
depth = -1000;
grab = false;
xx = 0;
yy = 0;
Step event code looks like this:
phy_speed_x = mouse_x-xo;
Hi all, i have a problem with a Drag Event on my android phone.
I have an Obj with this code:
Testing on PC return the result i'm expecting, it drags the view and the objects correctly.
On the android on the other side, this dosent work. i've checked with a text and the "Global Drag Start"...
Hello, I was playing around with the gesture events today; really trying to get a thorough understanding of them, so I can eventually implement smooth touch controls. I ended up with a snake like game accidentally, because the drag end event won't fire.
I'm using all the default configurations...
I'm new to mobile development and I'm struggling a bit with the gesture detection.
Can someone please offer me a simple GML solution for detecting the direction that the player drags their finger, before releasing?
I don't know how to do it in GML, so right now I am using the DnD Drag Start...
Hello! as the title says I want to build a menu wich is scrollable and contains drag n drop element. There is games using this, but I don't know how to make it in GMS. My first idea was to just simply draw on a surface the menu elements, and calculate the swipe, and scroll according to it, but i...
Hi , i'm not a coder , and i don't know how to take an object with the mouse , move it and drop it after . If u don't understand , i want to create a chessboard and idk how to move the piece with the mouse only . I tried with the up/down/left/right , but i cant move only one piece , because they...
Do you think that your finger has good coordination and is fast enough to drag a Donuto over to the other side?
If yes, then you should try out Donuto Drag from Google Play store!
Donuto Drag is a casual...
trying to see how far i can get just with D&D
Needing damage pop ups to appear then fade at the enemy, as it takes damage from impacting bullet obj.
any help on the subject would be greatly appreciated.
Hi,i nedd some help with this,i have 2 stickman in my game and i made a cell(the cell is a square)
and if you drag one of the stickmans into the cell it snaps the stickman right in the middle of it,and if you already have one of the stickmans in the cell and you try to drag the other one into...