• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Mouse Drag Your View!

G

GMLWaffle

Guest
GM Version: GM: S
Target Platform: ALL
Download: N/A
Links: https://www.youtube.com/c/GMLWaffle

Summary:
This was a very quick tutorial on how to implement dragging the view with your mouse. I went through things very quickly, so if you have any questions about how it works, feel free to ask! Also I tried out some new background music.. let me know what you think of that...

Tutorial:
 
P

PhenomenalDev

Guest
Cool video, watched it even though I don't need it just because it seems cool and subbed :D
 
O

owenbevt33

Guest
Thanks, I'm going to try working out how do drag and drop objects in game based on this. But for when I fail is there a similar tutorial anywhere for that? (it's very hard to google thanks to DnD mode)
 
O

owenbevt33

Guest
Thanks, I'm going to try working out how do drag and drop objects in game based on this. But for when I fail is there a similar tutorial anywhere for that? (it's very hard to google thanks to DnD mode)
actualy yer after a minutes thought and a test that's as simple as anything. just put
"
x = mouse_x;
y = mouse_y;
"
in Mouse Right Down event.
 
Top