Create: selected = false; Step: if selected = true{x=mouse_x;y=mouse_y;} Left Pressed: selected = true; Left Released: selected = false; Thumbs up so everyone can see.
So I figured out why the pieces were dissapearing when you swiped through them with one piece selected. It's because they're all commanded to go to the spot wherever the mouse is clicked. Do you by any chance know of an ignore command or how to set the other objects to be passive while you click one of the objects?
@fubbyquacker im not very good at gamemaker yet. but try setting it so if the mouse is a sertant distence away it will jump, but if its less then the dictence then make it move at speed (2) and set the friction 2 (-0.5) so it slowly gets faster. then set if mouse is not pressed then set friction to (0.5). and if you whant set gravety,to(0.5). but make shore that when mouse i9s pressed gravity terns off.
Here is an easier way (all codes):
Create: selected = false; Step: if selected = true{x=mouse_x;y=mouse_y;} Left Pressed: selected = true; Left Released: selected = false; Thumbs up so everyone can see.
SilverWingsxxx 2 weeks ago
So I figured out why the pieces were dissapearing when you swiped through them with one piece selected. It's because they're all commanded to go to the spot wherever the mouse is clicked. Do you by any chance know of an ignore command or how to set the other objects to be passive while you click one of the objects?
ZeckRichards 1 month ago
Comment removed
benedanika 3 months ago
Comment removed
benedanika 3 months ago
i made a scene creator with this
benedanika 3 months ago
thank you thank you thank you!!! This was driving me crazy i finaly get it ^_^
comedeycentral 7 months ago
Is there a way to avoid clearing the object when some other hits it?
Thank a lot, and congrats for you very good video !!!
marcwbl 10 months ago
@marcwbl it did with me too. just avoid the others
benedanika 3 months ago
Is there a way to avoid clearing the object when some other hits it?
Thank a lot, and congrats for you very good video !!!
marcwbl 10 months ago
Thank you so much!
CoookiesAreLoved 1 year ago
man, you are a game maker saviour, i've been finding videos like this but yours is the only one that works...
haggardson 1 year ago
@haggardson :D
catfacechimp 1 year ago
omg thanks!
STEVETZAG 1 year ago
thankyou :D
lucaschermontsantos 1 year ago
ok i fixed my problem,
anyway can you tell me how can i throw an object?
Thanks
fubbyquacker 1 year ago
@fubbyquacker im not very good at gamemaker yet. but try setting it so if the mouse is a sertant distence away it will jump, but if its less then the dictence then make it move at speed (2) and set the friction 2 (-0.5) so it slowly gets faster. then set if mouse is not pressed then set friction to (0.5). and if you whant set gravety,to(0.5). but make shore that when mouse i9s pressed gravity terns off.
(i think that should work)
insainmonkey6969 1 year ago
@insainmonkey6969
Havent tried it yet but thanks
You've been Fubbified
fubbyquacker 1 year ago
No no I take it back, after i drag 'n drop once, suddenly I have to click below it to move it Heelp
Thanks again
fubbyquacker 1 year ago
heeelp! im using GM 8 pro, and I can only drag once! after i let go I can never grab it again! If someone can help me reply.
Thanks
fubbyquacker 1 year ago
now all i need is a shuffle :P
Arthounot 1 year ago
thanks man, you saved my boardgame :)
Arthounot 1 year ago
thanks! i was wondering how to do this :P
NovaPulse 1 year ago
Thanks
kurris32 2 years ago
thank you
sonicmaster2k7 2 years ago
Thanks dude just what I was looking for!
purgarus 2 years ago
You could have done this in 1/3 the time you used now.
Make your sprites and objects first dude, then we dont have to watch for 6min's
VuurwerkBAZ 2 years ago
Or you could fast forward or watch another video? Its crazy theres not millions of professional game maker tutorials about specific things......
Melph93 2 years ago
NIce i was searching for that!But when i touch an object when i am holding onother it is desstroy
kotareli 2 years ago
I've a video on getting WMG music back, try it:
/watch?v=9MVXi41ZZKI
This isn't spam.
Thanks for the tutorial BTW, it really helped me :D
SimCity4IE 2 years ago
Could you please tell me how I would go about making a sliding object? Such as the top part of a gun? Thanks in advance!! Btw, nbice vid :)
liljohn560 2 years ago
make the object only jump to mouse_x, then in y, jump to where ever it is on the y axis. don't do relative, it won't work :p
catfacechimp 2 years ago
Cheers :)
liljohn560 2 years ago
thanks!
warriorz9876 2 years ago
cooll just what i needed!
FlakeySnowFlake 3 years ago
lol nice i think i might redownload gamemaker ^_^
bobhub600 3 years ago