Bullet object with direction UP

  • First of all, to comment that I'm not using a template Vertical Space Shooter.

    I have only a plane that is moving from right to left. This aircraft fires a missile, but I can not do it up direction.

    My Event Sheet only have this event:

    <img src="http://oi38.tinypic.com/2zxmp0k.jpg" border="0" />

    The image of my game is this:

    <img src="http://oi34.tinypic.com/xf2r8m.jpg" border="0" />

    I need this:

    <img src="http://oi34.tinypic.com/wirb6b.jpg" border="0" />

    I've only managed to shoot to the right, left, or even with angles, but not with up direction :(.

    Thanks and pardon for my english.

  • If possible, please post your project file.

    For the missile, if you have managed to make it go left or right, then I guess you already have given it bullet behavior? If so, you could adjust its angle to 90 degrees. In the event sheet, if you have already given bullet behavior to the missile, add another action to set angle to 90.

  • Hello Keroberos and thanks for your reply,

    I've tried several ways, but can not get to shoot direction up: (

    Thanks and greetings ;)

  • I have not looked at the zip, but after spawning your bullet you need to set the angle of movement or the angle to 270

    Also check on the properties bar to make sure you have rotate to angle unchecked if you don't want the bullet to change visible angle.

  • Though judging by the bullet shape, he wants to leave the sprite rotation turned on <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for your answers, you are very kind.

    Pixel perfick, in Event Sheet I added:

    Mouse - On Left Button Clicked - Bullet - Set Angle to 270 degrees.

    or

    Mouse - On Left Button Clicked - Bullet - Set Bullet angle of motion to 270 degrees

    Now this shoot UP <img src="smileys/smiley1.gif" border="0" align="middle" />, but my bullet has rotated also those grades <img src="smileys/smiley19.gif" border="0" align="middle" />

    I have checked on the properties bar to have rotate to angle unchecked and checked, but do not understand why it happens.

    These images are the ones I've tried, I'm sure there is something wrong:

    First test:

    <img src="http://oi37.tinypic.com/9qd74y.jpg" border="0" />

    Second Test:

    <img src="http://oi37.tinypic.com/2dj89jm.jpg" border="0" />

    Thanks :)

  • Okay, I think I got it.

    I have to do some tests...

  • Rotate your bullet in the image editor so that it's facing right. Right = 0 degrees.

    <img src="https://dl.dropboxusercontent.com/u/8367729/construct/pics/bulletAngle.PNG" border="0" />

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)