Erickmwc's Forum Posts

  • 8 posts
  • Hello, when I click on "Run Layout" there is always some lag and I don't know way because I don't have much objects or events (the lag started yesterday after I make a animation with the object "porta", but today I delete the animation and the lag still continues). What could be causing this lag?

    Another thing is that it is on events that when "Enemy" collides with the walls it bounce off, but sometimes when I run the layout, the enemy goes to different ways. I want the enemy to bounce and "return how he comes" (simple bounce off), but sometimes he just make another path.

    Here's the .capx: dropbox.com/s/s1hez1q9ao61kou/Turret.capx

    Obs: To see the problem of the "enemy" you shoud run layout sometimes before it happen(3~5 times).

    Grateful now

  • I couldn't believe it was so easy. Just one more thing: When the enemy rotate and then see the player, the "Enemyalert" appear turned to the other side. How can I make him "appear" to where the Enemy was going?

    This is a little hard to understand but if you see yhe capx you will see what I'm talking about.

    Grateful now

  • Hello, i've already looked in some tutorials, but the are all to games like "tower-defense" and I was looking for a different thing. I was using line of sight to when a enemy see the player, he transform into a turret (named "Enemyalert")and shoots the player, but a want like 3 shoots per second and he is shooting without stopping.

    Another thing is how to make the bullet don't cross the walls?(I think this should be easy)

    capx: dropbox.com/s/s1hez1q9ao61kou/Turret.capx

    Sorry for my english

  • Yes, that is exactly what I was looking for, but it's much harder than I was thinking, now I will try to understand it. Thank you very much for the help

  • I was looking it until now and still don't find how to just rotate between a selected angle

  • The basic idea is equal this gif: picgifs.com/graphics/camera/graphics-camera-693944-754479

    It will be like a security camera, but it will be on a wall(fixed), so it is "impossible" to rotate 360?.

  • My idea is to make a camera that rotates ~=150� without stopping. How could I do it? Because I'm trying the "rotate toward angle or position" and the camera just don't move.

    Grateful now

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, I'm new here, just start today, so sorry if this isn't the correct place.

    I'd like to know how to make an object just rotate like 150�, and not the 360� that the function "rotate" has. Sorry for my english and grateful now

  • 8 posts