Human_being's Forum Posts

  • 5 posts
  • SOLVED

    thanks for the help dop2000! i figured out what was wrong. when the sword first spawns, it starts at 0 degrees, then goes to the correct angle as soon as the spawn finishes. the swordshot would spawn before the angle change happens because the two events happened at the same time. so what i did was i put the "signal" action at the end of every "set angle to" for the sword, then a "wait for signal" before the "spawn object" so that the swordshot always spawns after the swords angle is set. in case that didnt make sense, i have a screenshot here on the code that i made that made the game work:

    i think this is it

    its events 39-43 in the screenshot that i was talking about above, and i put the rest of that code group in along with it.

  • so i got the 45 degree problem fixed, but now its only going to the right, i got the screenshots here:

    coding:

    preview:

    i think these are the right screenshots

  • thank you! ill try to fix those

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • sorry dop2000, i dont think i was specific enough, or i didnt understand what you meant, the problem wasnt the animation, but the bullet direction of the beam (example:i want it to move at 0 degrees, but it moves at 45, or i want 90 degrees, but its 135 and so on). i got a couple pictures of this here:

    the coding:

    the preview:

  • im working on a game like zelda, the sword is supposed to shoot kindof a beam, but it wont stop going about 45 degrees extra of where it should shoot. the beam uses bullet behavior.

  • 5 posts