morpheous's Forum Posts

  • Hiya,

    Just a couple of quick questions regarding moving objects with the mouse.

    The code i have to do this is as follows :

    Mouse Left Button is down   object   set position to (mouse.x,mouse.y) object pick instance with UID

            object.UID

    Mouse   Cursor is over object

    now firstly when you move the object with the mouse it is very easy to leave it behind if you move the mouse too fast, is there a way to have the object latch onto the mouse cursor so this doesn't happen?

    secondly when you move the object over another object (of the same type) one of the objects disappears.

    and finally if you declare two different objects with similar code to above then when one object is moved over the other object, they latch on.

    Any help would be appreciated, thanks in advance

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi, I'm new to this game making idea but am having a ball with it. I started about 6 weeks ago primarily on Game Maker but found the coding a little tricky to deal with. I then happened across Construct 2 recently and I've gotta say it's incredible.

    It does seem to have huge potential!!

    My biggest problem is trying to finish one complete game, i have heaps of ideas and am constantly jumping around.

    Am looking forward to learning more about this great program on my game development journey!

  • Hi, i would like to try and determine when an object (in this case a ball) has come to a halt.

    The ball has physics behaviors attached to it and when it stops i need to be able to determine if it has stopped in the right place.

    Any ideas would be extremely helpful, thank you