bangnew's Recent Forum Activity

  • PulvererPeter I didn't see the "substract" functions, thank you for noticing

    trashgg yep I notice that one too, so I try to add another variable that tell if a pattern spawn already done or not. It change on first when the pattern are chosen and after last enemy are spawn.

    One question, are "include event sheet" are perfectly fine if I include more than one sheet or it can 'cause glitch on the system? because this feature is very helpful to make multiple layout with one system.

  • can't send PM, need 500 rep

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • trashgg thank you for testing it.

    maybe because I use the "include event sheet" feature, and it's make the variable didn't stop on time (I use debug mode, the 'pattern' variable keep changing for a split second after the enemy spawn). I think I should test it again or find another way to make a similar spawn system, 'cause I can't find the problem too.

    I'll message you immediately, thank you for your help

  • [quote:wghz9loo] Your saying they keep spawning when they shouldn't be?

    Yeah, they usually spawn more than one group.

    [quote:wghz9loo]Could you take a screenshot of your script and post it here? Someone could find the problem faster that way.

    For now I understand that you are trying to spawn 1 random enemy at a time and after the first one is destroyed you get 2 random enemies at a time but I can't see the problem in your script. Is any of the variables a Local Variable?

    Maybe the pict will explain

    I use that based on tutorial and people's post on forum

  • Hi, i'm beginners on construct 2

    So I just try this to make enemies spawn based on the "spawnon" and "enemy"variable

    ->system spawnon = 0 | system set pattern to choose (0, 1, 2)

    ->system trigger once |

    -->system pattern = 0 | "enemy spawn"

    -->system pattern = 1 | "other kind enemy spawn"

    -->system pattern = 1 | "another kind enemy spawn"

    then

    ->Enemy on created | Add 1 to enemy

    ->Enemy on destroy |Add -1 to enemy

    ->system enemy > 0 | set spawnon to 1

    ->system enemy = 0 | set spawnon to 0

    but after all first wave enemies destroy, the next wave usually spawn more enemies than it should be (like pattern 1 and 2 spawn together, or pattern 0 spawn double), and I can't find where is the problem.

    If anyone can help i would be grateful

    *english is not my native language

bangnew's avatar

bangnew

Member since 4 Nov, 2015

None one is following bangnew yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies