Obi554's Forum Posts

  • Possibly your collision box has moved or is tiny and not representative of the click area of the sprite, check that in the image editor.

    Hi again, thanks so much for your help, it worked!

    I'm so excited.

  • Possibly your collision box has moved or is tiny and not representative of the click area of the sprite, check that in the image editor.

    Hi, thanks for your reply.

    Don't think I even have a collision box. Let me look into it.

  • Hi,

    I have a few events which go:

    Mouse - on left click - sprite > different actions occur

    But when I run the layout mode: the sprite clicking hardly works, and only if I press repeatedly and very fast on the web browser over the sprite location. Not sure what's wrong. I got around this by using buttons instead of sprites, but it really makes my game look ugly.

    Any help appreciate.

    Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try setting the speed before you set the angle.

    If speed=0, then Bullet-Set Angle action is ignored.

    Thanks for your message. How do I set the speed first?

  • I'm guessing you have "Set angle=Yes" in Bullet behavior?

    Make sure the image of the ship (when you double-click your sprite) is correctly positioned. It should be horizontal and facing right.

    Hi,

    I have the following code:

    1. Planet1 > On click > Bullet > set angle towards Planet1.X, Planet1.Y

    This works fine.

    2. Go button > On click > Bullet > set speed X

    The space ship starts to move, but changes its angle towards the centre of the left/right sides of the screen, and I have to press the Planet1 button again so it can correct it's angle of movement back towards Planet1. It does this same error for all 4 planets.

  • Hi,

    I've set my spaceship (with bullet movement) to face in the direction of a planet when i click on the planet. I then click on the 'go' button for the spaceship to move.

    When I click this 'go' button, the spaceship starts moving but changes direction to either the centre-left or centre-right far side of the screen (depending whether the planet is on the left or right of screen's centre).

    I hope this makes sense. I don't know whether it's a glitch because i'm not using direct keyboard movements for my ship, but button clicks to activate the movement as well as stop.

    I've gone over my events and also tried a new order to see if it can fix the problem, but whenever I press the 'go' button the spaceship will always sightly change direction. The only way to fix the direction is to click on the planet again while it's moving.

    Thank you for any help