TwoCatsYelling's Recent Forum Activity

  • Ah!

    I hadn't come across anything about the Choose command.

    That's very similar to the last game editor I used... that should work fine. I'll go read up on it.

    Thanks!

    If you are just wanting it to pick a between a couple choices you can use:

    choose(a, b)

    This will select one of the two..

    So could also be numbers like;

    choose(1, 2)

    for example.

    You can add as many choices as you want.

    choose(a, b, c, d, 2, 4, 15, pizza)

    The 'random' function is used for picking a random number between two numbers..

    You should use choose instead i think/

  • Try Construct 3

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

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

    I'm pretty new to learning Construct 2 - well, very new - and am attempting to make my first game with it.

    The game is a simple top-down shooter , and is a kind of mix of Asteroids and Galaga. Nifty little thing.

    Anyway, in the game, UFOs are to fly by every 10-15 seconds. There are two versions, one that will fly from Left to Right, and one that will fly from Right to Left.

    Now, I've tried a couple approaches to make this work, including setting a variable at random, and then choosing which UFO to spawn based on that variable's setting. But it's not really getting the desired result - and I have a feeling it's not very elegantly done, either, and is probably wasting events. I'm still on the Free version (for now - just need the $$ avail to buy a license), so Events are at a premium, and I don't know how many this game will ultimately require.

    I'm guessing it's probably a very easy thing to do and, in my newbie's naivete, I just haven't figured it out. But, if someone could point me in the right direction, that would be great, and very much appreciated.

    Thank you!

TwoCatsYelling's avatar

TwoCatsYelling

Member since 12 Aug, 2013

None one is following TwoCatsYelling yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies