PressStart's Recent Forum Activity

  • Its an 8 direction game (zelda like). I am using physics since i though it was an easy way to achieve the pull back effect.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    I want to know how can i make an enemy "move back" when hitted with a sword, as in a Zelda game. I am currently applying impulse at angle, but the enemy takes too long to stop, even if i set friction or linear damping to 1. I have also tried to set it into inmovable after half a second, but this looks "unnatural". I need it to go back fast so it seems as a powerful hit, but stop quickly and smoothly at a short distance. How can i achieve this effect?

    Kinds regards

  • Thanks for your reply. That would work, but i am looking to get a more precise rotation control. For example, i would like to be able to "tell" an image to rotate "x" degrees to the right with "y" speed. Is this possible? I'm kind of having trouble to reference degrees counterclockwise. How can i "tell" an image to rotate x degrees counterclockwise at a certain speed?

    Best regards,

  • hi

    I want to know how can i make an image rotate clockwise a certain number of degrees and when it reachs a certain angle to rotate counter clockwise until it reaches another angle, kind of like a pendulum effect.

    Best regards,

  • Thank you very much, its being very helpful.

    Best regards,

  • hi

    I am making a "turret" kind of object, but i am having the following problem. I have a "turret" and a "bullet" object. When the player is at certain distance from the turret, the turret "spawns" a bullet at its current position. The problem is when i make another instance of the "turret" object, both turrets shoot at the same time if the player is near one. I've tried using "for each" in the event sheet, but it still doesn't work. What could be the problem?

    Best regards,

  • Hi,

    I a have a game where every level is basically has the same elements (objects, HUD, background). How is the best way to make this levels without having to set the HUD, background and everything again? Should i use duplicate or is there a better way?

    Best regards,

  • Sorry, by layer i mean layout.

  • Hi,

    I wonder how can i assign an event sheet to a specific layer. For example, when i duplicate a layer, by default it does not create an event sheet for it.

    Best regards,

  • Hi everyone,

    I want to apply a special bounce effect. i would like an object to be "hit" when it collides with another. The object should "bounce off" at precisely the place where it collided the other object. So it should be applied an impulse perpendicular to the tangent of where it hitted the other object. Also, i want it to take into account the other object velocity. In other words, if the other object is faster then i want the impulse to be stronger (be hitted harder).

    Is this possible to simualte?

    Best regards

  • You are right. Thank you for your help.

  • Hi everyone,

    I would like to know how i can check if all the instances of an object type in a layout are destroyed. What i have tried is to create a global variable named XXXX, then in everty tick i set that variable to object.Count. Then i check if XXXX is <= 0. The problem is when i crate the global variable i can't set the initial value to object.count. Is there a better way for this?

    Best regards

PressStart's avatar

PressStart

Member since 1 May, 2012

None one is following PressStart yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies