Apocx's Recent Forum Activity

  • Awesome, thanks again for the help guys. I appreciate both explanations

    -A

  • One last question in regards to delays / cooldowns:

    I'm trying to add a delay in a for loop, but what looks logical, only spawns 1 object (instead of 10 over 10 seconds)

    For "AINum" from 0 to global('MaxAI')

    spawn 1 AI

    Wait 1 second

    resume

    Either they all show up at the same time, or just the one. I'm sure it's a simple order thing, but so far I've yet to figure it out.

    -A

  • Perfect. Got it working, Thanks so much for the help!

    -A

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Complete programming noob here. This is actually a bit of a logic problem, and I'm sure I'm overlooking something really simple, but:

    I've got a special power for my spaceship that can be fired once every 10 seconds (or longer, we'll see).

    Condition: On key X pressed

    For Loop 0 - 100 (making plenty of bullets)

    Set each bullet to random angles

    It works perfectly, and inflicts the carnage I like. But like I said, for whatever reason I can't get a cooldown working. I know I have to reinitialize the timer object to 10,000ms at the end of the bullet explosion, and wrap the whole thing in a while loop to evaluate whether times up or not...but getting that work is another thing entirely

    On a more positive note, having never done any scripting before I've already created something fun in a few hours - so thanks for such a great program!

    -A

Apocx's avatar

Apocx

Member since 29 Jun, 2010

None one is following Apocx yet!

Trophy Case

  • 14-Year Club

Progress

14/44
How to earn trophies