goodeddie's Forum Posts

  • Is there a way to stop an object at a certain place if you drag past it? I am having trouble when I drag a cube into my player. After I release it inside of the player, the player cannot move. I would like to stop the cube from going into the player. Do I have to build my own drag and drop logic?

  • Its a great demo! Thank you!!

  • Oh thank you very much!!! I will look at it and try to implement it into my game.

  • Thank you Allan but I am not looking for the functionality in angry birds. I am looking for if I am holding an object with my mouse, after I move my mouse, I release the left click and the object continues in that direction. Just like if you throw a ball in real life, when you release it from your hand, the ball keeps going until it falls down.

  • Hey do you know what happens if you enable physics of an object on top of another object that has the physics behavior? I can try it at home but just wondering.

  • Thank you. I'll try it when I get back.

  • Hello.

    Is there a behavior that let's us move an object with our mouse and, on release, it follows physics and gets thrown with a certain velocity?

    Are there a lot of games that allow you to drag and throw objects?

  • Thanks! I'll try adding that to my event sheet.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello.

    I have added the drag and drop behavior to my object and I have also added physics and gravity to my object. The problem is when I drag the object with my mouse and hold it still, physics applies on it and it falls down away from my mouse. Is this a glitch? Or should I remove the drag and drop behavior and add events to simulate it?

  • Thanks. For now, I have added the physics AND the solid behaviors to my tilemap. Physics handles my draggable object and solid handles my platformer player.

  • If I do use events, do I use bullet -> on collision -> stop? Do I have to move the bullet back to the top of the collided object in case the bullet is too fast and goes inside of the object?

    If I use physics, do I have to use an event sheet to change the gravity?

  • I did add solid behavior to the tilemap but I did not add collision with solids explicitly to the bullet behavior. I thought it already starts with the solid collision. I will try adding collision with solids in my event sheet.

    So which way is better? Using bullet or using physics? This object can be dragged by the mouse and thrown with the mouse.

  • I am trying to make an object that falls with gravity and when it collides with a solid it stops. I've tried a bullet with gravity and tried making it collide with my tilemap that is a solid but it is not colliding. The only other option I can think of is add physics behavior to my object and give the physics behavior to my tilemap but that is weird. I don't think a tilemap should have physics.

  • Hi! How did you fix it? Did you use sprite font?

  • How do I get the room list after I request it?