JamesQpurcell's Recent Forum Activity

  • Not sure if this will help, but he's my Event Sheet. Because I'm sloppy I went ahead and highlighted the relevant bits.

  • When you pick up the Pig, are you creating a separate pig bullet sprite?

  • You could set your Spawner Sprite's Image Point 1000 pixels away from it.

  • Lol I have the same problem with my platform game..... now need to wait till I found the solution.

    Help please

    Since I posted my question I tried a work around that kind of works. I created a second bullet sprite with a negative speed (so it goes left) and set up a numeric variable in an array called LeftRightShot that gets set to either 0 or 1 whenever you press right or left. using that number I trigger which bullet fires and from what image point on the player sprite.

    This works. But it doesn't seem very elegant. And if I mirror my sprite (to show it running left of right some how) it'll mirror the image points.

    EDIT: and I just realized, if I'm going to mirror my sprite I don't have to have a second image point to spawn the second bullet sprite, since I'm mirroring my first one I just spawn my left firing bullets from the same image point.

    So yeah... this seems to be the solution? Have two bullet sprites, one for each direction? And a bunch of triggers to keep them in check?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So I've got this really simple player Sprite (you might even call him a square) and he's got platform behavior. He walks left, he walks right, jumps up and down. The whole thing.

    He also spawns another Sprite with Bullet behavior with a button press.

    But he can only fire right. Because the bullet speed is positive. If I trigger the sprite to mirror on a direction press the bullet will spawn from the opposite side, but it still travels to the right. I can get the bullet to travel left if I change the player sprite's angle 180 degrees. BUT, this causes the sprite to be upside-down, and not mirrored like I want.

    Changing the speed of the bullet to a negative number with a corresponding direction press would logically work, but by doing so it seems to change the direction of already fired bullets as they travel across the screen.

    This should not be this hard? What am I missing here?

JamesQpurcell's avatar

JamesQpurcell

Member since 10 Dec, 2014

None one is following JamesQpurcell yet!

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies