fiveforty's Forum Posts

  • 5 posts
  • So there is I've had to accomplish this with 2 conditions and 6 actions! Gotta be a more efficient way than this...

    (events)

    enemy X < 500

    enemy StoppedYet = 0 (instance variable)

    (actions)

    Set StoppedYet to 1

    Set Bullet Speed to 0

    Set Bullet acceleration to 0

    wait 3 seconds

    Set Bullet Speed to 400

    Set Bullet acceleration to 400

    Is that the best way?

  • Thanks alvarop. First bit sounds simple enough. How do I go about waiting before moving off again?

  • Hi all,

    How would I have a sprite (enemy ship in a horizontal scrolling shooter) come onto the scene smoothly from the right, pause in the middle of the screen for a few seconds, and then pick up speed and fly off the left hand side of the scene.

    I'm a newbie and can't quite get my head around how to achieve this.

    Any help much appreciated!

    Thanks

  • Thanks for response. I discovered the 'On Created' event, so went with that, followed by > Set Scale to Random(1)+0.5.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi all,

    First post, be gentle with me.

    I'm creating a side to side shooter (retype style) game and I can't figure out how put a random size on the enemy sprites that I'm spawning. Got some lovely sine movement on them as they go across the screen, but could do with a little bit of difference in size to give a bit more variation.

    I'd rather not create a duplicate of the sprite as it's more to load. I thought I could set up an instance variable as a random size number, and then apply that into the size properties somehow, but it doesn't seem to like that. And I can't find an obvious way to do it in an event without effecting all enemy sprites on screen.

    It's probably really obvious as I can't find any other posts asking the same question!

    Any help appreciated.

    Thanks!

  • 5 posts