Help, tutorials and examples for Game Maker

Guliseo Spirit
click to visit
Battle your way through 15 action-packed worlds!

Platformer Engine
click to visit
An Engine to help you start a 2D Platformer Game.
Paper Flight
click to visit
3D racing game with custom paper airplanes.

RK-1 Revenge of the Rats
click to visit
Use RK-1 to defeat nasty burglar insects!
Home Search/Browse Comments Trollsplatterer You can help! Links
Terms&Conditions This website has been designed for Firefox Design by Trollsplatterer (©2018)

Select and move  download now

This example shows you how to select instances and move them to the mouse-position. You can select and deselect balls with the Left Mouse Button and the control-button and move a group with the Right Mouse Button.


General Rating
Your Rating*


By Comment
JSgOyQfJzV WhHmzTQluU PpBAvolaov SduraCbpkr aTQizaOaNz SHXWgwRzZE EZwEYOngYN RNQkcJlBrt JkcNVvfzpB siVLidkihZ
You can use the action "Move avoiding" for that purpose. More complex movement scripts are beyond this example, as most require a lot of scripting and I'd like to keep this example as simple as possible.
can you make this so it goesa around walls for the fastest route?
I'm glad to have been of help. If you need extra features, let me know.
Thank god for this. I've been searching the GM wiki forever and no one seems to be able to make a competant click and move for multiple objects. Thanks so much!

* : The rating makes use of your IP-address to remember your vote. IP addresses may change, but your vote will be kept, even though it may no longer be visible here.