Canapin's Recent Forum Activity

  • Greetings.

    I would like to know what is the simplest way to execute an action x seconds after the condition has been written.

    for example :

    keyboard - ctrl is down

       - wait for 5 sec

          -> spawn bullet

    Hope you'll help me ! <img src="smileys/smiley18.gif" border="0" align="middle" />

  • Thank you, dear sir.

  • Can you upload your project?

  • You can create a line break by using the "newline" expression, if I understand well your issue.

    Like "Hello" & newline & "world"

    It works when setting the text value from the event sheet.

    I didn't manage to make a new line just by typing that in the initial value field.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Greetings!

    I'm working on a shoot'em up. I'd like to understand how families function works (I can't use them with the free version). I just used it a little bit on Construct Classic.

    In my shoot'em up, I have several different enemies. They all have a similar HP variable.

    I put these enemies into the "enemy" family.

    Now, my spaceship is shooting at them. Is it possible to only apply single events to the [enemy] family instead of events for each enemy ship?

    Like : "if my laser hits an [enemy], then it decreases the [enemy].HP. If the [enemy].HP <=0, then the [enemy] disappears and create an explosion sprite."

    So I don't have to create individual events for each enemy.

    Does the families work like this?

  • That's great. Any plan to release this as a behavior plugin?

  • Hi!

    I used R0J0hound's method on the mentionned topic and it works perfectly.

    My script :

    <img src="http://img844.imageshack.us/img844/8968/construct.png" border="0" />

  • just use a "for each" loop, that should handle each instance separately, instead of having them all shoot at the same time.

    For Each Object "enemy":

    --Every "enemy2.firerate" Seconds: enemy2 - spawn bullet

    I tried :

    But it doesn't seem to work, none of my enemies2 are shooting (except the "original" one outside of my layout).

    I didn't try with UID picking, I think it's a little bit complicated for me at this time. I'm a true beginner :D

  • I'll try that, thanks a lot!

  • Greetings!

    I'm learning Construct by making a small shoot'em up.

    Actually, the game create 1 enemy every second for 6 seconds :

    I would like them to start shooting (for example 1 shoot every 1.2 seconds) when the are created.

    Actually, if there are 6 enemies at the same time on the screen, they all shoot at the same time.

    Any idea to change this ?

Canapin's avatar

Canapin

Member since 6 Jun, 2012

None one is following Canapin yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies